compute_tree: A Tree Computer

Description Usage Examples

Description

Compute all information (coordinates, angles) needed to draw a tree in a plotting package, e.g. ggplot2

Usage

1
compute_tree(nodes, round = 2, y_nudge = 0.025, aspect_ratio = 1.2)

Examples

1
compute_tree(nodes, 2, .05, 1.4)

jweisber/ptree documentation built on May 10, 2019, 1:19 a.m.