.BG
.VE $Header: /usr3/s/current/s/.help/RCS/subtree,v 1.2 83/12/30 19:35:15 rab Exp $
.FN subtree
.TL
subtree: Extract Part of a Cluster Tree
.CS
subtree(tree, leaves)
.PP
.AG tree
a cluster tree structure, 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'.
.EX
z <- hclust(dismat)
subtree(z,c(1,10))  #subtree including 1st and 10th objects
.KW cluster
.KW multivariate
.KW array*
.WR
