getValuesBlock returns values for a block (rectangular area) of values of a Raster* object. It will take them from memory if available, else it will read them from disk.
Usage
getValuesBlock(x, row, ...)
Arguments
x
Raster* object
row
Numeric. Row number, should be between 1 and nrow(x), or missing in which case all values are returned
...
Additional arguments for getValuesBlock, see Details
Value
vector (x=RasterLayer) or matrix
Details
Additional arguments for readValuesBlock:
rll{
nrows Integer. How many rows? Default is 1
col Integer. Start column. Default is 1
ncols Integer. How many columns? Default is the number of colums left after the start column
}