This function can be used to suggest a chunk size, and corresponding row numbers, to be used when processing Raster objects chunk by chunk, normally together with writeValues.
Integer, normally missing. Can be used to set the block size; unit is number of cells. Block size is then computed in units of number of rows (always >= 1)
n
Integer. number of layers to consider. The function divides chunksize by n to determine blocksize
minblocks
Integer. Minimum number of blocks
minrows
Integer. Minimum number of rows in each block
Value
A list with rows, the suggested row numbers at which to start the blocks for reading and writing, size, the block size (number of rows) and n, the total number of blocks