powered by
RasterArray
The method is inherited from the 'SpatRaster' class.
SpatRaster
# S4 method for RasterArray,ANY resample(x, y, ...)
A resampled RasterArray-class object.
a RasterArray-class object.
The y argument of the resample function.
resample
arguments passed to the resample function.
ex <- rastex() if(requireNamespace("terra", quietly=TRUE)){ template <- terra::rast(res=5) resampled <- resample(ex, template) }
Run the code above in your browser using DataLab