draw.clust | R Documentation |
Graph a hierarchical cluster tree of class twins
or hclust
using colored symbols at observations.
draw.clust (cluster, data=NULL, cex=par("cex"), pch=par("pch"), size=2.5*cex, col=NULL, nodeinfo=FALSE, cases="obs", new=TRUE)
cluster |
object of class |
data |
clustered dataset for hclust application. |
cex |
size of text, par parameter. |
pch |
shape of symbol at leaves, par parameter. |
size |
size in cex units of symbol at leaves. |
col |
vector of colors from |
nodeinfo |
if |
cases |
label for type of observations. |
new |
if |
An alternative to pltree
and plot.hclust
.
The vector of colors supplied or generated.
Denis White
agnes
,
diana
,
hclust
,
draw.tree
,
map.groups
library (cluster) data (oregon.bird.dist) draw.clust (clip.clust (agnes (oregon.bird.dist), k=6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.