hist.hclust | R Documentation |
A representation of a one-dimensional hierarchical clustering
## S3 method for class 'hclust' hist(hc, x, k = 2:5)
x |
the numerical vector that was clustered to produce |
k |
a vector of the cluster cardinalities to plot |
h |
an |
A histogram 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
boxplot.hclust
, ward
,
break_ward
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.