View source: R/brick_to_array.R
brick_to_array | R Documentation |
Converts from a RasterBrick to a numeric array. Useful in going from patternize to recolorize.
brick_to_array(raster_brick)
raster_brick |
An object of RasterBrick class. |
This function is provided to convert from the RasterBrick objects provided
by the alignment functions in the patternize package, e.g. alignLan
.
An image array (probably 1, 3, or 4 channels).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.