Description Usage Arguments Value See Also
Given a template raster, new set of values for non-missing cells and optional index for non-missing cells, create a Raster* object containing the new values. The raster object will be replicate to have as many layers as the new dataframe has columns.
1 | insertRaster(raster, new_vals, idx = NULL)
|
raster |
a Raster* object with non-NA cells in which to insert new_vals |
new_vals |
a dataframe of new values to put in the non-NA cells of
|
idx |
an optional index giving the cell numbers corresponding to the
rows of |
a RasterBrick object with the same extent and resolution as
raster
and as many layers as the number of columns in
new_vals
.
Other GIS: bufferMask
, condSim
,
getArea
, getPoints
,
ll2cart
, makeVoronoiPolygons
,
safeMask
, sortPolyData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.