Test that pixelGroupMap
and cohortData
match
testCohortData(cohortData, pixelGroupMap, sim, maxExpectedNumDiverge = 1)
cohortData | a |
---|---|
pixelGroupMap | Raster layer with pixel values equal to a pixel group number that
correspondsd exactly to |
sim | If the simList is included, then the browser() call will be more useful |
maxExpectedNumDiverge | A numeric, length 1, indicating by how many they can diverge. Default 1. |
TODO