Description Usage Arguments See Also Examples
Get or set the colortable of a RasterLayer. A colortable is a vector of 256 colors in the RGB triple format as returned by the rgb
function (e.g. "#C4CDDA").
When setting the colortable, it is assumed that the values are integers in the range [0,255]
1 2 | colortable(x)
colortable(x) <- value
|
x |
RasterLayer object |
value |
vector of 256 character values |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.