
Augment Data with Hierarchical Cluster Assignments
Source:R/unsupervised-hclust.R
augment_hclust.RdAdd cluster assignments to original data
Value
A tibble containing the original data with an additional
cluster integer column indicating cluster assignments.
Examples
# \donttest{
hc <- tidy_hclust(USArrests, method = "ward.D2")
augmented <- augment_hclust(hc, USArrests, k = 3)
# }