layer_stats: Gives basic layer statistics

View source: R/stats.R

layer_statsR 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"))


samuelbosch/sdmpredictors documentation built on Aug. 24, 2023, 1:05 p.m.