treeplot {fdm2id} | R Documentation |
Dendrogram Plots
Description
Draws a dendrogram.
Usage
treeplot(
clustering,
labels = FALSE,
k = NULL,
split = TRUE,
horiz = FALSE,
...
)
Arguments
clustering |
The dendrogram to be plotted (result of |
labels |
Indicates whether or not labels (row names) should be showned on the plot. |
k |
Number of clusters. If not specified an "optimal" value is determined. |
split |
Indicates wheather or not the clusters should be highlighted in the graphics. |
horiz |
Indicates if the dendrogram should be drawn horizontally or not. |
... |
Other parameters. |
See Also
dendrogram
, HCA
, hclust
, agnes
Examples
require (datasets)
data (iris)
hca = HCA (iris [, -5], method = "ward", k = 3)
treeplot (hca)
[Package fdm2id version 0.9.9 Index]