| ncol,VirtualArray-method | R Documentation |
VirtualArray'-derived class object.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.
## S4 method for signature 'VirtualArray'
ncol(x)
## S4 method for signature 'VirtualArray'
nrow(x)
x |
A |
A numeric value of the number of columns and rows.
data(paleocoastlines)
ncol(paleocoastlines)
nrow(paleocoastlines)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.