mosaic_hist | R Documentation |
Create a histogram of the values of a SpatRaster
.
mosaic_hist(mosaic, layer, ...)
mosaic |
SpatRaster |
layer |
positive integer or character to indicate layer numbers (or names). If missing, all layers are used |
... |
Further arguments passed on to |
A NULL
object
library(pliman)
r <- mosaic_input(system.file("ex/elev.tif", package="terra"))
mosaic_hist(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.