Learn R Programming

chronosphere (version 0.3.1)

dim,RasterArray-method: Dimensions of RasterArray objects

Description

The function returns the dimensions of the array in which RasterLayers are organized.

Usage

# S4 method for RasterArray
dim(x)

Arguments

x

A RasterArray class object.

Value

A numeric vector.

Examples

Run this code
# NOT RUN {
data(dems)
dim(dems)
data(clim)
dim(clim)
# }

Run the code above in your browser using DataLab