mosaic2 | R Documentation |
Raster*
objects using a function for overlapping areasProvides a wrapper around raster::mosaic()
that cleans up any
temporary intermediate files used, and sets the layer name of the resulting raster.
mosaic2(x, y, ...)
## S4 method for signature 'RasterLayer,RasterLayer'
mosaic2(
x,
y,
...,
fun,
tolerance = 0.05,
filename = NULL,
layerName = "layer",
inRAM = FALSE
)
## S4 method for signature 'SpatRaster,SpatRaster'
mosaic2(
x,
y,
...,
fun,
tolerance = 0.05,
filename = NULL,
layerName = "layer",
inRAM = FALSE
)
x |
|
y |
|
... |
Additional Raster or Extent objects. |
fun |
Function (e.g., |
tolerance |
Numeric. Permissible difference in origin (relative to the
cell resolution). See |
filename |
Character. Output filename (optional). |
layerName |
Character. Name of the resulting raster layer. |
inRAM |
Logical (default |
Alex Chubaty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.