View source: R/unsupervised-hclust.R
| tidy_cutree | R Documentation |
Cut dendrogram to obtain cluster assignments
tidy_cutree(hclust_obj, k = NULL, h = NULL)
hclust_obj |
A tidy_hclust object or hclust object |
k |
Number of clusters (optional) |
h |
Height at which to cut (optional) |
A tibble with observation IDs and cluster assignments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.