powered by
Prepares the species table, by checking whether the input information is consistent.
prepare_species(species)
a data.frame with one row
table containing the information about species level data. Each row corresponds to one species/cohort.
species: species or cohort id/name. It must be consistent with species names in thinning, parameters and sizeDist tables.
thinning
parameters
sizeDist
planted: year and month indicating when species was planted. Provided in form of year-month. E.g. "2000-01".
fertility: soil fertility for a given species. Range from 0 to 1.
stems_n: number of trees per ha.
biom_stem: stem biomass for a given species (Mg/ha).
biom_root: root biomass for a given species (Mg/ha).
biom_foliage: initial foliage biomass (Mg/ha). If this is a leafless period, provide the spring foliage biomass.
This function check the species table for run_3PG.
run_3PG
run_3PG, prepare_input, prepare_parameters, prepare_sizeDist, prepare_thinning, prepare_site
prepare_input
prepare_parameters
prepare_sizeDist
prepare_thinning
prepare_site
# check species data prepare_species( species = d_species)
Run the code above in your browser using DataLab