Learn R Programming

ForestElementsR (version 2.0.1)

standing_area_gnfi3_core: Core Function for the Estimation of Tree Standing Areas According to the 3rd German National Forest Inventory

Description

See documentation of standing_area_gnfi3 for most information, this function is the workhorse behind, and should never be called directly by a user. The function standing_area_gnfi3 is fully vectorized, inputs are recyled according to the tibble rules

Usage

standing_area_gnfi3_core(species_id, dbh_cm, params)

Value

A vector with estimates of the trees' standing areas in m²

Arguments

species_id

Vector of species ids (see standing_area_gnfi3), but for this core function to work, species_id must be provided as character. This will and should be not checked inside this function, because if used as intended, that has happened before calling it. The codings must either follow the ger_nfi_2012, the tum_wwk_short, or the bavrn_state_short coding.

dbh_cm

Vector of breast height diameters (see standing_area_gnfi3)

params

A data frame that defines the function parameters corresponding to the species coding represented by species_id