sumrast | R Documentation |
Sum list of SpatRaster objects.
sumrast(x, normalize = TRUE)
x |
List of SpatRaster objects. |
normalize |
If |
A SpatRaster object.
plot_sumrast
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.