resample: Resampling a "RasterArray"-class object

resampleR Documentation

Resampling a 'RasterArray'-class object

Description

The method is inherited from the 'SpatRaster' class.

Usage

## S4 method for signature 'RasterArray,ANY'
resample(x, y, ...)

Arguments

x

a RasterArray-class object.

y

The y argument of the resample function.

...

arguments passed to the resample function.

Value

A resampled RasterArray-class object.

Examples

ex <- rastex()
if(requireNamespace("terra", quietly=TRUE)){
  template <- terra::rast(res=5)
  resampled <- resample(ex, template)
}

via documentation built on May 31, 2023, 8:31 p.m.

Related to resample in via...