View source: R/unsupervised-hclust.R
| augment_hclust | R Documentation |
Add cluster assignments to original data
augment_hclust(hclust_obj, data, k = NULL, h = NULL)
hclust_obj |
A tidy_hclust object |
data |
Original data frame |
k |
Number of clusters (optional) |
h |
Height at which to cut (optional) |
Original data with cluster column added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.