ncell {via}R Documentation

Number of cells in a 'RasterArray'-class object

Description

The method is inherited from the 'SpatRaster' class.

Usage

## S4 method for signature 'RasterArray'
ncell(x)

Arguments

x

a RasterArray class object.

Value

A numeric value.

Examples

ex <- rastex()
ncell(ex)

[Package via version 0.2.0 Index]