Create the makePixelGroupMap raster containing pixelGroups in pixelCohortData.

makePixelGroupMap(pixelCohortData, rasterToMatch)

Arguments

pixelCohortData

The full cohortData data.table

rasterToMatch

A RasterLayer objects to use as the template for all subsequent raster operations (i.e., the one used throughout the simulation).

Value

a raster with pixel groups