powered by
RasterArray
The method is inherited from the 'SpatRaster' class.
SpatRaster
# S4 method for RasterArray ncell(x)
A numeric value.
numeric
a RasterArray class object.
ex <- rastex() ncell(ex)
Run the code above in your browser using DataLab