treePlot: treePlot

Description Usage Arguments Value

View source: R/treePlot.R

Description

This function is used to inital a base tree ploting using ggplot2 This function is composed of two parts: the base tree plotting with only nodes present without any lines/paths and a loop which calling the nodeGroup function to adding data and add a nodeGroup each time by adding a layer of the ggplot

Usage

1
treePlot(xy_data, layer_data, npoint)

Arguments

xy_data

tree data frame with updated x y coordinate information

layer_data

layer data frame contaions all layers data

npoint

the number of points of each layer

Value

the plot of the tree part


Norisama/VFtree documentation built on Dec. 8, 2019, 9:28 a.m.