Merge RasterLayers to form a new RasterLayer with a larger spatial extent
Usage
merge(x, y, ...)
Arguments
x
A RasterLayer object
y
A RasterLayer object
...
Additional RasterLayers and other arguments. See below, under Methods
Value
A new RasterLayer object, and in some cases, the side effect of a new file on disk.
Details
The RasterLayer objects must have the same origin and resolution.
In areas where the RasterLayers overlap, the values of the RasterLayer that is first in the sequence of arguments will be retained.