jweisber/ptree: Create Probability Trees Easily, Especially w/ ggplot2

Create simple probability trees with ease. Intended for use with ggplot2, but can be used with other plotting systems too. You specify a set of nodes: the text content, and the parent node. (You can also specify the probability.) Ptree then computes the coordinates for laying out the tree's components: node-lables, connecting line segments, and (optionally) probabilities adorning those segments. A helper function can also do the work of drawing the tree for you, if you don't want to do the calls to ggplot2 yourself.

Getting started

Package details

Maintainer
LicenseMIT
Version0.0.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("jweisber/ptree")
jweisber/ptree documentation built on July 25, 2018, 12:11 a.m.