plot_sumrast | R Documentation |
Plot sum list of SpatRaster objects.
plot_sumrast(x, normalize = TRUE, add_lines = TRUE, ...)
x |
List of SpatRaster objects. |
normalize |
If |
add_lines |
If |
... |
Further arguments passed to terra::plot |
A 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))
plot_sumrast(list(x, y), add_lines = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.