isoStack {assignR} | R Documentation |
Stack isoscapes
Description
Combine multiple isoscapes into a single data object, including optional reconciliation of raster properties.
Usage
isoStack(..., clean = TRUE)
Arguments
... |
Two or more SpatRaster isoscapes, each with two layers, or |
clean |
logical. Reconcile differences in raster properties within |
Details
If clean
= TRUE all raster layers are projected to the projection of the first object in ...
and then resampled to the highest spatial resolution and smallest common spatial extent within ...
. Finally, cells containing NA in any layer within ...
are masked across all layers.
If clean
= FALSE any differences in raster properties between isoscapes will produce an error.
Value
Returns an object of class “isoStack”, a list containing the isoscapes objects in ...
after any cleaning.
Examples
#stack H and Sr isoscapes
h_s = isoStack(d2h_lrNA, sr_MI)