This function is called by the agg_uniform module and creates a uniform aggregation raster.

agg_uniform(template)

Arguments

template

SpatRaster. Raster image to use as a template

Value

a SpatRaster object

Author

Simon Smart simon.smart@cantab.net

Examples

raster <- terra::rast(nrow = 10, ncol = 10)
raster[] <- 1:100
uniform_raster <- agg_uniform(template = raster)