add_tree_data: add_tree_data

View source: R/struct_funcs.r

add_tree_dataR Documentation

add_tree_data

Description

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

Usage

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

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on June 11, 2025, 10:40 a.m.