raster_to_pg: raster_to_pg

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Aggregates or disaggregates a raster to conform with the PRIO-GRID resolution.

Usage

1
raster_to_pg(rast, aggregation_function = "mean", resampling_method = "")

Arguments

rast

a raster object

aggregation_function

see raster::aggregate fun

resampling_method

see raster::disaggregate, default is ”

Value

A raster with the same resolution, crs, and extent as PRIO-GRID.


prio-data/priogrid documentation built on June 28, 2021, 5:34 a.m.