Skip to contents

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)

Arguments

x

a RasterArray-class object.

Value

A numeric vector.

Examples

ex <- rastex() 
res(ex)
#> [1] 1 1
yres(ex)
#> [1] 1
xres(ex)
#> [1] 1