Learn R Programming

ForestElementsR (version 2.0.1)

make_trees_dataframe: Build a 'trees' data.frame (tibble) as Required for fe_stand and fe_stand_spatial Objects

Description

Build a 'trees' data.frame (tibble) as Required for fe_stand and fe_stand_spatial Objects

Usage

make_trees_dataframe(
  x,
  tree_id_col,
  species_id_col,
  time_yr_col,
  dbh_cm_col,
  layer_key_col,
  age_yr_col,
  height_m_col,
  crown_base_height_m_col,
  crown_radius_m_col,
  removal_col,
  ingrowth_col,
  n_rep_ha_col
)

Value

A data.frame (tibble) that can be used as the list element 'trees' in an fe_stand or fe_stand_spatial object

Arguments

x

Input data frame (tibble)

tree_id_col

See documentation of fe_stand

species_id_col

See documentation of fe_stand

time_yr_col

See documentation of fe_stand

dbh_cm_col

See documentation of fe_stand

layer_key_col

See documentation of fe_stand

age_yr_col

See documentation of fe_stand

height_m_col

See documentation of fe_stand

crown_base_height_m_col

See documentation of fe_stand

crown_radius_m_col

See documentation of fe_stand

removal_col

See documentation of fe_stand

ingrowth_col

See documentation of fe_stand

n_rep_ha_col

See documentation of fe_stand and fe_stand_spatial