Iterates over a raster using a second order function.
1 | forEachBlock(raster, func, ...)
|
raster |
A raster::raster. |
func |
A function that takes at least one arguments: A vector of pixels representing a block. |
... |
Any other parameters to pass to func. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.