Description Usage Arguments Value
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
1 | treePlot(xy_data, layer_data, npoint)
|
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 |
the plot of the tree part
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.