ggdendro

From MaRDI portal
Software:43159



swMATH31448CRANggdendroMaRDI QIDQ43159

Create Dendrograms and Tree Diagrams Using 'ggplot2'

Brian D. Ripley, Andrie de Vries

Last update: 23 February 2024

Copyright license: GNU General Public License, version 3.0, GNU General Public License, version 2.0

Software version identifier: 0.1.23, 0.1-12, 0.1-14, 0.1-15, 0.1-17, 0.1-18, 0.1-20, 0.1.21, 0.1.22, 0.2.0


Source code repository: https://github.com/cran/ggdendro

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.