ggdendro v0.1-20

0

Monthly downloads

0th

Percentile

Create Dendrograms and Tree Diagrams Using 'ggplot2'

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 cluster diagrams.

Functions in ggdendro

Name Description
ggdendrogram Creates dendrogram plot using ggplot.
rpart_labels Extract labels data frame from rpart object for plotting using ggplot.
rpartco Compute the x-y coordinates for a tree.
as.dendro Coerces object to class dendro.
dendro_data.tree Extract data from regression tree object for plotting using ggplot.
ggdendro-package Create Dendrograms and Tree Diagrams using 'ggplot2'
rpart_segments Extract data frame from rpart object for plotting using ggplot.
segment Returns segment, label or leaf-label data from dendro object.
is.dendro Tests whether an object is of class dendro.
dendro_data.rpart Extract data from classification tree object for plotting using ggplot.
get_data_tree_leaf_labels Extract labels data frame from tree object for plotting using ggplot.
tree_segments Extract data frame from tree object for plotting using ggplot.
treeco Function copied from tree:::treeco.
dendrogram_data Extract data frame from dendrogram object for plotting using ggplot.
labels.rpart Make the nice labels used by print and summary.
tree_labels Extract labels data frame from tree object for plotting using ggplot.
dendro_data Extract cluster data from a model into a list of data frames.
theme_dendro Creates completely blank theme in ggplot.
No Results!

Vignettes of ggdendro

Name
ggdendro.Rmd
No Results!

Last month downloads

Details

License GPL-2 | GPL-3
LazyData true
LazyLoad true
ByteCompile true
URL https://github.com/andrie/ggdendro
BugReports https://github.com/andrie/ggdendro/issues
Date 2016-04-27
VignetteBuilder knitr
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-04-27 10:47:14 UTC; adevries
Repository CRAN
Date/Publication 2016-04-27 18:28:33

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/ggdendro)](http://www.rdocumentation.org/packages/ggdendro)