Description Usage Arguments Value Examples
This function take input of the tree data and layer data, output the tree data frame with two more columns contain the x,y coordinate info of each node
1 | getCoordinates(tree, layers, npoint)
|
tree |
tree data frame without x,y coordinate |
layers |
layer data frame contaions all layers data |
npoint |
the number of points xy coordinates data of each layer |
updated tree data frame two new columns of x, y coordinates
1 2 | xy_data <- getCoordinates(tree = tree_df_25,
layers = tree_layers_25, npoint = 25 * 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.