tree_direction: Tree Plot Direction

Description Usage Arguments Details Author(s)

Description

Helper function for setting up plotting directions.

Usage

1
tree_direction(direction, theta0 = 0)

Arguments

direction

A character vector (scalar) indicating the direction. Must be one of "right", "left", "up", "down", "circle" or "semicircle"

theta0

Initial angle when making a semicircle plot.

Details

This function is mostly used internally, but is useful for circular plots that need to start at an angle different to zero. It might eventually hold more basic layout options, such as curly brackets.

This might change a little to become "shape", in which case we'd have rectangular (with direction l, r, u, d), semicircle with the same directions, circle with any direction, etc. Everything can change...

Author(s)

Rich FitzJohn


richfitz/forest documentation built on May 27, 2019, 8:17 a.m.