
Number of cells in a 'RasterArray
'-class object
Source: R/generics.R
, R/RasterArray-xattrib.R
ncell.Rd
The method is inherited from the 'SpatRaster
' class.
Arguments
- x
a
RasterArray
class object.
Examples
ex <- rastex()
ncell(ex)
#> [1] 64800