View source: R/visualization.R
| plot_dendrogram | R Documentation |
Enhanced dendrogram with colored cluster rectangles
plot_dendrogram(
hclust_obj,
k = NULL,
title = "Hierarchical Clustering Dendrogram"
)
hclust_obj |
Hierarchical clustering object (hclust or tidy_hclust) |
k |
Number of clusters to highlight |
title |
Plot title |
Invisibly returns hclust object (plots as side effect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.