Skip to contents

The method is inherited from the 'SpatRaster' class.

Usage

# S4 method for RasterArray
ncell(x)

Arguments

x

a RasterArray class object.

Value

A numeric value.

Examples

ex <- rastex()
ncell(ex)
#> [1] 64800