make_trees_dataframe: Build a 'trees' data.frame (tibble) as Required for...

View source: R/fe_stand_helpers_construction.R

make_trees_dataframeR Documentation

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
)

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

Value

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


ForestElementsR documentation built on April 3, 2025, 7:47 p.m.