Description Usage Arguments Value Examples
dendrogram function will draw Dendrogram for Groups analysis.
1 2 3 4 5 6 7 |
data |
input data.frame |
method |
hierarchical cluster method |
title |
main title |
subtitle |
subtitle |
caption |
caption |
value |
value variable |
An object of class ggplot
1 2 3 4 | hc <- hclust(dist(USArrests), "ave") # hierarchical clustering
dendrogram(data=USArrests)
dendrogram(hc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.