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, currentTime, successionTimestep )
newPixelCohortData | the cohorts that were harvested |
---|---|
cohortData | A |
pixelGroupMap | A |
currentTime | The current simulation time e.g., |
successionTimestep | succession timestep used in the simulation |
A data.table
with a new cohortData