Learn R Programming

via (version 0.2.0)

xres: 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 RasterArray
xres(x)

# S4 method for RasterArray yres(x)

# S4 method for RasterArray res(x)

Value

A numeric vector.

Arguments

x

a RasterArray-class object.

Examples

Run this code
ex <- rastex() 
res(ex)
yres(ex)
xres(ex)

Run the code above in your browser using DataLab