Description Usage Arguments Value Author(s) Examples
View source: R/lucC_update_raster.R
Update a RasterBrick with new values of pixel discovered from LUC Calculus formalism
1 2 | lucC_raster_update(raster_obj = NULL, data_mtx = NULL,
timeline = NULL, class_to_replace = NULL, new_pixel_value = 20)
|
raster_obj |
Raster. A raster stack with classified images |
data_mtx |
Matrix. A matrix with values obtained from predicates RECUR, EVOLVE, CONVERT or HOLDS |
timeline |
Character. A list of all dates of classified raster, timeline |
class_to_replace |
Character. All labels of each value of pixel from classified raster |
new_pixel_value |
Integer. New pixel value to raster. Default is 20 |
Matrix with raster and new pixel to create a RasterBrick reclassified
Adeline M. Maciel
1 2 3 4 5 6 7 8 | ## Not run:
rb_new <- lucC_raster_update(raster_obj = rb_sits, data_mtx = third_raster.df,
timeline = timeline, class_to_replace = "Forest", new_pixel_value = 6)
rb_new
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.