Description Usage Arguments Value
View source: R/utility_functions.R
Aggregates or disaggregates a raster to conform with the PRIO-GRID resolution.
1 | raster_to_pg(rast, aggregation_function = "mean", resampling_method = "")
|
rast |
a raster object |
aggregation_function |
see raster::aggregate fun |
resampling_method |
see raster::disaggregate, default is ” |
A raster with the same resolution, crs, and extent as PRIO-GRID.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.