View source: R/unsupervised-hclust.R
| tidy_dendrogram | R Documentation |
Create dendrogram visualization
tidy_dendrogram(hclust_obj, k = NULL, hang = 0.01, cex = 0.7)
hclust_obj |
A tidy_hclust object or hclust object |
k |
Optional; number of clusters to highlight with rectangles |
hang |
Fraction of plot height to hang labels (default: 0.01) |
cex |
Label size (default: 0.7) |
Invisibly returns the hclust object (plots as side effect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.