RasterArray
The method is inherited from the 'SpatRaster' class.
SpatRaster
## S4 method for signature 'RasterArray' ncell(x)
x
a RasterArray class object.
A numeric value.
numeric
ex <- rastex() ncell(ex)