Description Usage Arguments Details Author(s) See Also Examples
Plot a dendrogram, cut the tree at a given height, and draw the resulting subtrees in different colors (OLD version, to be deprecated)
1 2 3 4 5 6 7 8 9 | oldCutplot.dendrogram(
x,
h,
cluscol,
leaflab = "none",
horiz = FALSE,
lwd = 3,
...
)
|
x |
a dendrogram. |
h |
the height at which the dendrogram is cut. |
cluscol |
the colors used for the subtrees; defaults to |
leaflab |
indicates how leaf labels are to be drawn< defaults to 'perpendicular'. |
horiz |
logical indicating whether to plot the dendrogram horizontally or vertically. |
lwd |
the line width used for the color subtrees. |
... |
arguments to |
This routine makes use of the functions plot.dendrogram
and
plotNode
in package stats
.
Alexander Ploner <Alexander.Ploner@ki.se>
1 2 3 4 5 6 | ## Not run:
data(swiss)
cc = as.dendrogram(hclust(dist(swiss)))
oldCutplot.dendrogram(cc, h=80)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.