sumrast {prior3D} | R Documentation |
Sum list of SpatRaster objects.
Description
Sum list of SpatRaster objects.
Usage
sumrast(x, normalize = TRUE)
Arguments
x |
List of SpatRaster objects. |
normalize |
If |
Value
A SpatRaster object.
See Also
Examples
set.seed(42)
x <- terra::rast(matrix(rbinom(100, 1, 0.2), nrow=10))
y <- terra::rast(matrix(rbinom(100, 1, 0.8), nrow=10))
sumrast(list(x, y))
[Package prior3D version 0.1.5 Index]