discolor | R Documentation |
If raster's categories are integer or numeric, then raster values are restored from names of categories. Otherwise only category names are dropped.
discolor(obj, nodata = NA)
obj |
Object of class |
nodata |
Numeric. Flag value for "no-data". If |
Object of class ursaRaster
without color table.
Nikita Platonov platonov@sevin.ru
session_grid(NULL) a <- colorize(pixelsize(),ncolor=7) print(ursa_colortable(a)) print(a) b <- discolor(a) print(ursa_colortable(b)) print(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.