The methods are inherited from the 'SpatRaster' class, see res. Replacement is not allowed.
Usage
# S4 method for RasterArray
xres(x)
# S4 method for RasterArray
yres(x)
# S4 method for RasterArray
res(x)Examples
ex <- rastex()
res(ex)
#> [1] 1 1
yres(ex)
#> [1] 1
xres(ex)
#> [1] 1
