Skip to contents

The total number of values in a 'RasterArray'-class object

Usage

nvalues(x, ...)

# S4 method for RasterArray
nvalues(x)

Arguments

x

A RasterArray-class object.

...

additional arguments passed to class-specific methods.

Value

A numeric value.

Examples

ex <- rastex()
nvalues(ex)
#> [1] 388800