populateSpParamsFromInventory.Rd
Functions to populate species parameter values from forest inventory source data
populateGrowthForm(
SpParams,
tree_names,
shrub_names = character(0),
erase_previous = FALSE,
fill_fromGenus = FALSE
)
populateHeightParams(
SpParams,
species_names,
height_values,
quantile_Hmed = 0.5,
quantile_Hmax = 0.99,
erase_previous = FALSE
)
populateTreeDiameterHeightParams(
SpParams,
species_names,
height_values,
diameter_values,
quantile_fHDmin = 0.05,
quantile_fHDmax = 0.95,
erase_previous = FALSE
)
A data frame of medfate species parameters to be populated
String vector of translated tree species names
String vector of translated shrub species names
A boolean flag to indicate that values should be set to NA before populating with data
A boolean flag to indicate that genus adscription of species should be used to fill missing values
A string vector of translated species names (see translateSpeciesCodes
)
A numeric vector of plant heights (in cm)
Quantile for Hmed
Quantile for Hmax
A numeric vector of tree diameter at breast height (in cm)
Quantile for fHDmin
Quantile for fHDmax
A modified data frame of medfate species parameters