plot_hclust_trace | R Documentation |
Plots the cost of successive merges in a hierarchical clustering
plot_hclust_trace(h, k = 1:10)
h |
an |
ka |
vector of the cluster cardinalities to plot |
The trace shows, for each merge, the distance of the clusters which were merged. This is useful for determining the appropriate number of clusters. An interesting number of clusters is one that directly precedes a sudden jump in distance.
Tom Minka
ward
, break_ward
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.