speciesEcoregion table for current timeR/cohorts.R
speciesEcoregionLatestYear.RdPull out the values from speciesEcoregion table for current time
speciesEcoregionLatestYear(speciesEcoregion, currentTime)A data.table with species-ecoregion-specific species trait values.
Ecoregion refers to "ecolocation", a categorical variable grouping sites with similar biophysical
characteristics. The table should have at least the following columns: speciesCode and
ecoregionGroup, character representation of species and ecoregion groups respectively,
maxB the maximum biomass for the species in a given 'ecoregion', maxANPP the maximum
aboveground net primary productivity and SEP the species establishment probability.
May contain columns inflationFactor (used to adjust maxB) and mANPPproportion
(used to calculate maxANPP).
The current simulation time e.g., time(sim).
The speciesEcoregion input object, but with data from only one year, the year
that is less than or equal to the currentTime