Assert post-fire disturbance mortality and regeneration

assertPostPartialDist(
  cohortDataOrig,
  pixelGroupMapOrig,
  cohortDataNew,
  pixelGroupMapNew,
  postDistPixelCohortData,
  distrbdPixelCohortData,
  doAssertion = getOption("LandR.assertions", TRUE)
)

Arguments

cohortDataOrig

original cohortData (prior to any modification)

pixelGroupMapOrig

original pixelGroupMap (prior to any modification)

cohortDataNew

modified cohortData output from updateCohortData()

pixelGroupMapNew

modified pixelGroupMap output from updateCohortData()

postDistPixelCohortData

modified cohortData output from updateCohortData()

distrbdPixelCohortData

cohortData-like object containing all dead, surviving and new cohorts (i.e. activated by serotiny/resprouting)

doAssertion

A logical indicating whether some internal tests should be run to ensure the function is running correctly. Default: getOption("LandR.assertions", TRUE).