clpairs {mclust1998} | R Documentation |
Gives classifications corresponding to the stages of hierarchical clustering.
clpairs(x, partition, col=partition, ...)
x |
matrix of observations. |
partition |
a vector of integers indicating a partition of the data. |
col |
the default is to color the objects according to the partition. |
... |
other arguments as specified by pairs
|
a matrix whose columns are the classifications corresponding to each value of
nclusters
.
data(iris) cl <- mhclass(mhtree(iris[,1:4], modelid="VVV"), 3) clpairs(iris[,1:4],cl)