add_tree_data: add_tree_data

Description Usage Arguments Details Value Examples

View source: R/struct_funcs.r

Description

Adds data from the tree_data dataframe in a lidar_tree list/object to other dataframes in that list/object

Usage

1
2
3
4
5
6
7
8
add_tree_data(
  lidar_trees,
  dfs = "all",
  tree_data_df_name = "tree_data",
  data_cols = c("dbh", "pom", "height", "Astem_chambers_2004"),
  overwrite_existing_cols = F,
  match_col = "tree"
)

Arguments

lidar_trees

PARAM_DESCRIPTION

dfs

PARAM_DESCRIPTION, Default: 'all'

tree_data_df_name

PARAM_DESCRIPTION, Default: 'tree_data'

data_cols

PARAM_DESCRIPTION, Default: c("dbh", "pom", "height", "Astem_chambers_2004")

overwrite_existing_cols

Should existing columns in the dataframe be overwritten those from tree_data?, Default: F

match_col

PARAM_DESCRIPTION, Default: 'tree'

Details

DETAILS

Value

OUTPUT_DESCRIPTION

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.