.BG
.FN mhclass
.TL
Classifications for hierarchical clustering.
.SH DESCRIPTION
Gives classifications corresponding to the stages of hierarchical clustering.
.CS
mhclass(tree, nclusters)
.PP
.RA
.AG tree
An `"mhtree"' object, which is a matrix whose columns are integers 
corresponding to clusters merged at each stage of hierarchical clustering
(classification tree), together with an attribute giving the initial
partition for the hierarchical process.
.OA
.AG nclusters
the numbers of clusters for which classifications are desired. The default
is to produce all classifications implied by `tree' given the initial
partition.
.RT
a matrix whose columns are the classifications corresponding to each value of
`nclusters'. Columns are labeled by the `as.character' representation of
the number of clusters.
.SA
`mhtree'
.EX
> data <- matrix(aperm(iris, c(1,3,2)), 150, 4)
> mhclass(mhtree(data), 1:9)
.KW clustering
.WR


