clpairs {mclust1998}R Documentation

Classifications for hierarchical clustering.

Description

Gives classifications corresponding to the stages of hierarchical clustering.

Usage

clpairs(x, partition, col=partition, ...)

Arguments

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

Value

a matrix whose columns are the classifications corresponding to each value of nclusters.

See Also

pairs, mixproj

Examples

data(iris)
cl <- mhclass(mhtree(iris[,1:4], modelid="VVV"), 3)
clpairs(iris[,1:4],cl)

[Package Contents]