50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


chronosphere (version 0.4.0)

dim,XArray-method: Dimensions of SpatialArray or RasterArray objects

Description

The function returns the dimensions of the array in which RasterLayers or Spatial* objects are organized.

Usage

# S4 method for XArray
dim(x)

Arguments

x

A SpatialArray or RasterArray class object.

Value

A numeric vector.

Examples

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

Run the code above in your browser using DataLab