add_opt_col: add_opt_col

View source: R/struct_funcs.r

add_opt_colR Documentation

add_opt_col

Description

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

Usage

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

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

## End(Not run)

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