clpairs(mclust)R Documentation

Classifications for hierarchical clustering.

Usage

clpairs(x, partition, symbols, two=T, newframe = T, ...)

Arguments

x matrix of observations.
partition a vector of integers indicating a partition of the data.
symbols graphics symbols denoting the different groups in the partition (in order of appearance).
two logical variable indicating whether or not the two group case should be displayed as a single plot or a pairs plot. The default two = T displays is as a single plot.
newframe logical variable indicating whether or not frame should be invoked before plotting. The default is to invoke frame.
... other arguments as specified by pairs

Value

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

DESCRIPTION

Gives classifications corresponding to the stages of hierarchical clustering.

See Also

pairs, mixproj

Examples

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


[Package Contents]