pixelGroup
and add to cohortData
R/cohorts.R
plantNewCohorts.Rd
Create new cohorts based on provenance table with unique pixelGroup
and add to cohortData
plantNewCohorts(
newPixelCohortData,
cohortData,
pixelGroupMap,
initialB = 10,
currentTime,
successionTimestep,
trackPlanting = FALSE
)
the cohorts that were harvested
A data.table
with columns: pixelGroup
, ecoregionGroup
,
speciesCode
, and optionally age
, B
, mortality
, aNPPAct
, and sumB
.
A RasterLayer
with pixel values equal to a pixel group
number that corresponds exactly to pixelGroup
column in cohortData
.
the initial biomass of new cohorts. Defaults to ten.
The current simulation time e.g., time(sim)
.
The time between successive seed dispersal events. In LANDIS-II, this is called "Succession Timestep".
adds column that tracks planted cohorts if TRUE
A data.table
with a new cohortData