raster_range | R Documentation |
Computer the range of values for raster objects
raster_range(x, na.rm = TRUE, collapse = TRUE, ...)
x |
a Raster* or SpatRaster class |
na.rm |
logical, if TRUE remove NAs. For objects inheriting |
collapse |
logical, if FALSE then a matrix is returned with two columns
which are vectors of |
... |
other arguments for |
either a matrix of min and max values or a two element vector of min and max
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.