Specifically, whether all combinations of ecoregionGroup and speciesCode are in both objects, no more no less.

assertSpeciesEcoregionCohortDataMatch(
  cohortData,
  speciesEcoregion,
  doAssertion = getOption("LandR.assertions", TRUE)
)

Arguments

cohortData

A cohortData object

speciesEcoregion

A speciesEcoregion object

doAssertion

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