R/maps.R
aggregateRasByDT.Rd
Uses data.table to perform aggregation calculations, which is faster than raster::aggregate.
raster::aggregate
aggregateRasByDT(ras, newRas, fn = sum)
RasterLayer to aggregate
RasterLayer
RasterLayer to match
function to use to aggregate pixel values