R/assertions.R
assertPostPartialDist.RdAssert post-fire disturbance mortality and regeneration
assertPostPartialDist(
cohortDataOrig,
pixelGroupMapOrig,
cohortDataNew,
pixelGroupMapNew,
postDistPixelCohortData,
distrbdPixelCohortData,
doAssertion = getOption("LandR.assertions", TRUE)
)original cohortData (prior to any modification)
original pixelGroupMap (prior to any modification)
modified cohortData output from updateCohortData()
modified pixelGroupMap output from updateCohortData()
modified cohortData output from updateCohortData()
cohortData-like object containing all dead, surviving and
new cohorts (i.e. activated by serotiny/resprouting)
A logical indicating whether some internal tests should be run to
ensure the function is running correctly.
Default: getOption("LandR.assertions", TRUE).