powered by
SpatialArray
RasterArray
The function returns the dimensions of the array in which RasterLayers or Spatial* objects are organized.
RasterLayer
Spatial*
# S4 method for XArray dim(x)
A numeric vector.
numeric
A SpatialArray or RasterArray class object.
data(dems) dim(dems) data(coasts) dim(coasts)
Run the code above in your browser using DataLab