CRAN
ggdendro 0.1-20
Create Dendrograms and Tree Diagrams Using 'ggplot2'
Released Apr 27, 2016 by Andrie de Vries
Dependencies
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.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>ggdendro</artifactId> <version>0.1-20-b35</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:ggdendro')
Test Results
This package was last tested against Renjin 0.9.2687 on Aug 25, 2018.
- clusterplots_and_dendrograms.dendrogram_plots
- dendro_data-examples
- dendro_data.rpart-examples
- dendro_data.tree-examples
- dendrogram.data_dendrogram()_returns_a_correct_classes_E1
- dendrogram.data_dendrogram()_returns_a_correct_classes_E2
- dendrogram.data_dendrogram()_returns_a_correct_classes_E3
- dendrogram.data_dendrogram()_returns_a_correct_classes_E4
- dendrogram.data_dendrogram()_returns_a_correct_classes_E5
- dendrogram.data_dendrogram()_returns_a_correct_classes_E6
- dendrogram.data_dendrogram()_returns_a_correct_classes_E7
- dendrogram.undefined_model_type_throws_error
- ggdendrogram-examples
- ggdendrogram.ggdendrogram_plots_and_accepts_____parameters_E1
- ggdendrogram.ggdendrogram_plots_and_accepts_____parameters_E2
- hclust.data_hclust()_returns_the_correct_classes_E1
- hclust.data_hclust()_returns_the_correct_classes_E2
- hclust.data_hclust()_returns_the_correct_classes_E3
- hclust.data_hclust()_returns_the_correct_classes_E4
- rpart.data_tree()_returns_the_correct_classes_E1
- rpart.data_tree()_returns_the_correct_classes_E2
- testthat
- tree.data_tree()_returns_the_correct_classes_E1
- tree.data_tree()_returns_the_correct_classes_E2