ncol,VirtualArray-method: Number of columns and rows of a 'VirtualArray'-derived class object.
Description
Unlike the ncol and nrow functions of the 'terra' package, this function returns the number of columns and rows of the 'VirtualArray'-derived container, rather than the dimensions of the contained 'SpatRaster'-class object.
Usage
# S4 method for VirtualArray
ncol(x)
# S4 method for VirtualArray
nrow(x)
Value
A numeric value of the number of columns and rows.