Description Usage Arguments Value See Also Examples
Add a layer to a Raster* object or drop a layer from a RasterStack or RasterBrick. The object returned is always a RasterStack (unless nothing to add or drop was provided, in which case the original object is returned).
1 2 |
x |
Raster* object |
i |
integer. Indices of the layers to be dropped |
... |
Additional arguments. The layers to add for addLayer. None for dropLayer) |
RasterStack
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.