exactextractr (version 0.5.1)

exact_resample: Resample a raster to a new grid

Description

Resample a raster to a new grid

Usage

# S4 method for RasterLayer,RasterLayer
exact_resample(x, y, fun)

Arguments

x

a RasterLayer to be resampled

y

a RasterLayer with a grid definition to which x should be resampled

fun

a named summary operation to be used for the resampling

Value

a resampled version of x