xres {via}R Documentation

Resolution of a 'RasterArray'-class object

Description

The methods are inherited from the 'SpatRaster' class, see res. Replacement is not allowed.

Usage

## S4 method for signature 'RasterArray'
xres(x)

## S4 method for signature 'RasterArray'
yres(x)

## S4 method for signature 'RasterArray'
res(x)

Arguments

x

a RasterArray-class object.

Value

A numeric vector.

Examples

ex <- rastex() 
res(ex)
yres(ex)
xres(ex)

[Package via version 0.2.0 Index]