See documentation of age_d_gnfi3
for most information,
this function is the workhorse behind, and should never be called directly by
a user.
age_d_gnfi3_core(species_id, dbh_cm, dbh_cm_known, age_yr_known, params)
A vector with estimates of the trees' expected dbh (see
age_d_gnfi3
)
Vector of species ids (see age_d_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 or the tum_wwk_short
coding. In the former case, the parameter param_orig
must be TRUE,
in the latter, it must be FALSE.
Single numeric value or vector of dbh (cm) for which the age is to be estimated
Vector of known dbh (cm) values at age
age_yr_known
Vector of ages (years) for which the dbh
d_cm_known
is known
A data frame that defines the function parameters corresponding
to the species coding represented by species_id
The function age_d_gnfi3
is fully vectorized, inputs are recyled
according to the tibble rules