.BG
.FN subtree
.TL
Extract Part of a Cluster Tree
.CS
subtree(tree, leaves)
.AG tree
a cluster tree object, normally the result of a call to `hclust'.
.AG leaves
vector of objects (i.e., row numbers of the original data matrix)
which should be included in the extracted subtree.
.RT
the smallest subtree of `tree' which includes all the
`leaves'.  The subtree includes the components `merge',
`height' and `order' described under `hclust'.  It can be
used in the various summaries of cluster results, such as
`plclust'.
.SA
`hclust', `cutree', `plclust'.
.EX
z <- hclust(dismat)
subtree(z,c(1,10))  #subtree including 1st and 10th objects
.KW cluster
.KW multivariate
.KW array
.WR
