adimatt: Number of columns and rows of a 'RasterArray' or...

Description Usage Arguments Value Examples

Description

Unlike the ncol and nrow functions of the raster package (ncell), this function returns the number of columns and rows of the RasterArray container, rather than the dimensions of the contained RasterLayers.

Usage

1
2
3
4
5
## S4 method for signature 'XArray'
ncol(x)

## S4 method for signature 'XArray'
nrow(x)

Arguments

x

A RasterArray or SpatialArray class object.

Value

A numeric value of the number of columns and rows.

Examples

1
2
3

chronosphere documentation built on April 19, 2021, 1:07 a.m.