powered by
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)
Object of class ursaRaster
ursaRaster
Numeric. Flag value for "no-data". If NA, then no-data values are missed. Default is NA.
NA
Object of class ursaRaster without color table.
# NOT RUN { session_grid(NULL) a <- colorize(pixelsize(),ncolor=7) print(ursa_colortable(a)) print(a) b <- discolor(a) print(ursa_colortable(b)) print(b) # }
Run the code above in your browser using DataLab