Last chance! 50% off unlimited learning
Sale ends in
SpatialArray
or RasterArray
objectsThe function returns the dimensions of the array in which RasterLayer
s or Spatial*
objects are organized.
# S4 method for XArray
dim(x)
A SpatialArray
or RasterArray
class object.
A numeric
vector.
# NOT RUN {
data(dems)
dim(dems)
data(coasts)
dim(coasts)
# }
Run the code above in your browser using DataLab