resample: Resample maps in ExpVarRasterStack object or list

Description Usage Arguments Value See Also Examples

Description

A wrapper function for raster::resample to resample raster objects in an ExpVarRasterStack object or list.

Usage

1
2
3
4
5
## S4 method for signature 'ExpVarRasterStack,Raster'
resample(x, y, method = "ngb", ...)

## S4 method for signature 'list,Raster'
resample(x, y, method = "ngb", ...)

Arguments

x

an ExpVarRasterStack object or list of Raster* maps to be resampled

y

Raster* object with parameters that x should be resampled to

method

method used to compute values for the new RasterLayer, should be "bilinear" for bilinear interpolation, or "ngb" for nearest neighbour

...

additional arguments to raster::resample

Value

An ExpVarRasterStack object or list, depending on x.

See Also

ExpVarRasterStack, raster::resample

Examples

1
## see lulcc2-examples

simonmoulds/lulcc2 documentation built on Dec. 23, 2021, 2:24 a.m.