Add the correct pixelGroups to a pixelCohortData object

addPixelGroup(pixelCohortData, maxPixelGroup)

Arguments

pixelCohortData

# pixel groups are groups of identical pixels based on speciesGroup x Age and ecoregionGroup.

maxPixelGroup

A length 1 numeric/integer indicating the current maximum pixelGroup value

Note

This should not (yet) be used where age is an issue.