Learn R Programming

chronosphere (version 0.4.0)

xres,RasterArray-method: Resolution of a RasterArray object

Description

The methods are inherited from the RasterStack class, see resolution. 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

Run this code
# NOT RUN {
data(dems)
res(dems)
yres(dems)
xres(dems)
# }

Run the code above in your browser using DataLab