cohortData
based on pixelGroupMap
R/cohorts.R
rmMissingCohorts.Rd
Remove missing cohorts from cohortData
based on pixelGroupMap
rmMissingCohorts( cohortData, pixelGroupMap, cohortDefinitionCols = c("pixelGroup", "age", "speciesCode"), doAssertion = getOption("LandR.assertions", TRUE) )
cohortData | A |
---|---|
pixelGroupMap | A |
cohortDefinitionCols | the columns in |
doAssertion | A logical indicating whether some internal tests should be run to
ensure the function is running correctly.
Default: |
A list
with 2 data.table
objects, cohortData
and pixelGroupMap
,
each updated based on missing pixelGroups
in the other.