Generate cohortData
table per pixel:
addPixels2CohortData( 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: |
An expanded cohortData
data.table
with a new pixelIndex
column.