norm.label | R Documentation |
Cluster labels of a clusterings are replaced by 1:length(table(cl))
.
norm.label(cl)
cl |
vector of cluster memberships |
the clustering with normed labels.
Arno Fritsch, arno.fritsch@tu-dortmund.de
relabel
for labelling a sample of clusterings the same way
(cl <- sample(c(13,12,34), 13, replace=TRUE)) norm.label(cl) (cl <- sample(c("a","b","f31"), 13, replace=TRUE)) norm.label(cl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.