ra_aggregate | R Documentation |
Function to create a lower resolution (aggregated) raster layer.
ra_aggregate(ra, factor, fun = mean, na.rm = TRUE)
ra |
Raster object. |
factor |
Amount of aggregatation in number of cells or as a multiplier
to decrease |
fun |
Summary function to for aggregatation. |
na.rm |
Should |
Raster object.
Stuart K. Grange
ra_disaggregate
## Not run:
# Decrease a raster layer's resolution by five times
ra_countries_rough <- ra_aggregate(ra_countries, factor = 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.