Description Usage Arguments Details Author(s)
Convert a Raster* object with numeric values to classes
1 | add_raster_attributes(r,attribute)
|
r |
A |
attribute |
a character |
The function uses rgdal::writeGDAL with catNames
argument to write a tif file to disk with attributes
and read the tif back to R
Antoine Stevens
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.