prepare_species {r3PG} | R Documentation |
Check the species data for consistency
Description
Prepares the species table, by checking whether the input information is consistent.
Usage
prepare_species(species)
Arguments
species |
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.
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.
|
Details
This function check the species table for run_3PG
.
Value
a data.frame with one row
See Also
run_3PG
, prepare_input
, prepare_parameters
, prepare_sizeDist
, prepare_thinning
, prepare_site
Examples
# check species data
prepare_species( species = d_species)
[Package
r3PG version 0.1.6
Index]