powered by
Graph a hierarchical cluster tree of class twins or hclust using colored symbols at observations.
twins
hclust
draw.clust (cluster, data=NULL, cex=par("cex"), pch=par("pch"), size=2.5*cex, col=NULL, nodeinfo=FALSE, cases="obs", new=TRUE)
object of class hclust or twins.
clustered dataset for hclust application.
size of text, par parameter.
shape of symbol at leaves, par parameter.
size in cex units of symbol at leaves.
vector of colors from hsv, rgb, etc, or if NULL, then use rainbow.
hsv
rgb
NULL
rainbow
if TRUE, add a line at each node with number of observations included in each leaf.
TRUE
label for type of observations.
if TRUE, call plot.new.
plot.new
The vector of colors supplied or generated.
An alternative to pltree and plot.hclust.
pltree
plot.hclust
agnes, diana, hclust, draw.tree, map.groups
agnes
diana
draw.tree
map.groups
# NOT RUN { library (cluster) data (oregon.bird.dist) draw.clust (clip.clust (agnes (oregon.bird.dist), k=6)) # }
Run the code above in your browser using DataLab