brick_to_array {recolorize} | 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).