dendrogram_data | R Documentation |
Extract data frame from dendrogram object for plotting using ggplot
dendrogram_data(x, type = c("rectangle", "triangle"), ...)
x |
object of class "dendrogram", e.g. the output of as.dendrogram() |
type |
The type of plot, indicating the shape of the dendrogram: "rectangle" will draw rectangular lines, while "triangle" will draw triangular lines. |
... |
ignored |
ggdendrogram()
Other dendro_data methods:
dendro_data()
,
dendro_data.rpart()
,
dendro_data.tree()
,
rpart_labels()
Other dendrogram/hclust functions:
dendro_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.