stats | R Documentation |
Return a set of descriptive statistics of the given layer, either a specific one (minimum, q1, median, q3, maximum, median absolute deviation (mad), mean, standard deviation (sd)) or all of them.
stats(layer, plot = FALSE)
layer |
SpatRaster. Raster object, as defined by package terra, with a single layer. |
plot |
logical. If TRUE, a histogram of raster values is drawn. |
data.frame. If plot is TRUE, also outputs a histogram of the layer.
region = gecko.data("layers")
stats(region[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.