The method is inherited from the 'SpatRaster' class.
Arguments
- x
a
RasterArray-class object.- y
The y argument of the
resamplefunction.- ...
arguments passed to the
resamplefunction.
Value
A resampled RasterArray-class object.
Examples
ex <- rastex()
if(requireNamespace("terra", quietly=TRUE)){
template <- terra::rast(res=5)
resampled <- resample(ex, template)
}
