boxplot.hclust | R Documentation |
A representation of a hierarchical clustering of predefined groups
## S3 method for class 'hclust' boxplot(hc, x, k = 2:5, col = "bisque", ...)
x |
the list of vectors that was clustered to produce |
k |
a vector of the cluster cardinalities to plot |
... |
arguments passed to |
h |
an |
A boxplot of x
is shown with blue lines cutting the x-axis.
The tallest lines correspond to divisions made at the top of the hierarchy.
By reading top to bottom, you can see how each cluster is subdivided. This
can be far more illuminating than a plot of the hierarchy as a tree.
Tom Minka
hist.hclust
, ward
,
break_ward
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.