ggdendro (0.2.0)

Published 2026-02-24 13:47:13 +00:00 by atheaadmin

Installation

options("repos" = c(getOption("repos"), c(gitea="")))
install.packages("ggdendro")

About this package

This is a set of tools for dendrograms and tree plots using 'ggplot2'. The 'ggplot2' philosophy is to clearly separate data from the presentation. Unfortunately the plot method for dendrograms plots directly to a plot device without exposing the data. The 'ggdendro' package resolves this by making available functions that extract the dendrogram plot data. The package provides implementations for 'tree', 'rpart', as well as diana and agnes (from 'cluster') diagrams.Create Dendrograms and Tree Diagrams Using 'ggplot2'

Dependencies

Imports MASS, ggplot2(>= 0.9.2)
Depends R(>= 3.5)
Suggests rpart (>= 4.0-0), tree, testthat, knitr, cluster, scales, spelling, rmarkdown, covr
Details
CRAN
2026-02-24 13:47:13 +00:00
1
GPL-2 | GPL-3
Andrie de Vries
Brian D. Ripley
164 KiB
Assets (1)
Versions (1) View all
0.2.0 2026-02-24