Learn R Programming

sdmpredictors (version 0.2.15)

layer_stats: 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())

Value

A dataframe with basic statistics about each given layercode.

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.

See Also

list_layers layers_correlation

Examples

Run this code
# layer stats for the first 10 layers
layer_stats()[1:10,]
layer_stats(c("BO_calcite", "MS_bathy_5m"))

Run the code above in your browser using DataLab