Last data update: 2014.03.03
|
R: Norm Labelling of a Clustering
norm.label | R Documentation |
Norm Labelling of a Clustering
Description
Cluster labels of a clusterings are replaced by 1:length(table(cl)) .
Usage
norm.label(cl)
Arguments
cl |
vector of cluster memberships
|
Value
the clustering with normed labels.
Author(s)
Arno Fritsch, arno.fritsch@tu-dortmund.de
See Also
relabel for labelling a sample of clusterings the same way
Examples
(cl <- sample(c(13,12,34), 13, replace=TRUE))
norm.label(cl)
(cl <- sample(c("a","b","f31"), 13, replace=TRUE))
norm.label(cl)
Results
|