norm.label: Norm Labelling of a Clustering

norm.labelR 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)

mcclust documentation built on May 2, 2022, 5:05 p.m.