add_opt_col: add_opt_col

Description Usage Arguments Details Value Examples

View source: R/struct_funcs.r

Description

add "opt_set" and "opt_mod" columns to a dataframe, if the qsm_idx_col matches the opt_mod

Usage

1
2
3
4
5
6
add_opt_col(
  lidar_trees,
  dfs = "all",
  qsm_idx_col = "qsm_idx",
  overwrite_existing_cols = F
)

Arguments

lidar_trees

concat_df["dataset]

dfs

dataframes to add columns to, Default: 'all'

qsm_idx_col

name of qsm index column within dataframes, Default: 'qsm_idx'

overwrite_existing_cols

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

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.