resample {via} | R 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 |
y |
The y argument of the |
... |
arguments passed to the |
Value
A resampled RasterArray
-class object.
Examples
ex <- rastex()
if(requireNamespace("terra", quietly=TRUE)){
template <- terra::rast(res=5)
resampled <- resample(ex, template)
}
[Package via version 0.2.0 Index]