getCoordinates: getCoordinates

Description Usage Arguments Value Examples

Description

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

Usage

1
getCoordinates(tree, layers, npoint)

Arguments

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

Value

updated tree data frame two new columns of x, y coordinates

Examples

1
2
xy_data <- getCoordinates(tree = tree_df_25,
               layers = tree_layers_25, npoint = 25 * 40)

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