layer_stats {sdmpredictors} | R Documentation |
Gives basic layer statistics
Description
layer_stats
returns basic statistics (minimum, q1, median, q3,
maximum, median absolute deviation (mad), mean, standard deviation (sd))
for each given layercode.
Usage
layer_stats(layercodes = c())
Arguments
layercodes |
character vector or dataframe. Codes of the layers you want the basic statistics of as a character vector or a dataframe with a "layer_code" column. With the default empty vector all statistics are returned. |
Value
A dataframe with basic statistics about each given layercode.
See Also
list_layers
layers_correlation
Examples
# layer stats for the first 10 layers
layer_stats()[1:10,]
layer_stats(c("BO_calcite", "MS_bathy_5m"))
[Package sdmpredictors version 0.2.15 Index]