Description Usage Arguments Value Examples
New labels for the clusters are produced, so as to reflect the successive parting of branches ("a" is divided into "aa", and "ab", "aa" is divided into "aaa" and "aab", etc.)
1 | relabel_clusters(mytree)
|
mytree |
a classification tree |
a vector with the new labels
1 2 | hc <- hclust(dist(USArrests), "ave")
relabel_clusters(hc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.