dimensions: Dimensions of a stcube object

dimensionsR Documentation

Dimensions of a stcube object

Description

Get the number of rows (nrow), columns (ncol), cells (ncell), layers (nlyr), or spatial resolution of a stcube.

Usage

## S4 method for signature 'stcube'
ncol(x)

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

## S4 method for signature 'stcube'
nlyr(x)

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

## S4 method for signature 'stcube'
res(x)

## S4 method for signature 'stcube'
xres(x)

## S4 method for signature 'stcube'
yres(x)


Arguments

x

stcube object

Value

integer

Examples


#ncol(r)
#nrow(r)
#nlyr(r)
#dim(r)


babaknaimi/rts documentation built on June 18, 2024, 11:31 p.m.