Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 signature 'XArray'
dim(x)

Arguments

x

A SpatialArray or RasterArray class object.

Value

A numeric vector.

Examples

data(dems)
dim(dems)
data(coasts)
dim(coasts)

chronosphere

Earth System History Variables

v0.4.1
CC BY 4.0
Authors
Adam T. Kocsis, Nussaibah B. Raja
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.