% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dendrogram.R \name{dendrogram_data} \alias{dendrogram_data} \title{Extract data frame from dendrogram object for plotting using ggplot.} \usage{ dendrogram_data(x, type = c("rectangle", "triangle"), ...) } \arguments{ \item{x}{object of class "dendrogram", e.g. the output of as.dendrogram()} \item{type}{The type of plot, indicating the shape of the dendrogram: "rectangle" will draw rectangular lines, while "triangle" will draw triangular lines.} \item{...}{ignored} } \description{ Extract data frame from dendrogram object for plotting using ggplot } \seealso{ \code{\link[=ggdendrogram]{ggdendrogram()}} Other dendro_data methods: \code{\link{dendro_data}()}, \code{\link{dendro_data.rpart}()}, \code{\link{dendro_data.tree}()}, \code{\link{rpart_labels}()} Other dendrogram/hclust functions: \code{\link{dendro_data}()} } \concept{dendro_data methods} \concept{dendrogram/hclust functions} \keyword{internal}