Description Usage Arguments Value
View source: R/raster_convenience_internal.R
Takes raster*
objects as input and replaces all non-NA values with
values specified in a data.frame
. Multiple columns will return
RasterStack
's.
1 | set_raster_values(raster, data)
|
raster |
A |
data |
A |
A RasterLayer
if data
has only one column. A
RasterBrick
if multiple columns were specified in data
.
Character and factor data will lead to the creation of factor layers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.