Learn R Programming

via (version 0.2.0)

ncell: Number of cells in a 'RasterArray'-class object

Description

The method is inherited from the 'SpatRaster' class.

Usage

# S4 method for RasterArray
ncell(x)

Value

A numeric value.

Arguments

x

a RasterArray class object.

Examples

Run this code
ex <- rastex()
ncell(ex)

Run the code above in your browser using DataLab