layers_correlation | R Documentation |
layers_correlations
returns the Pearson product-moment correlation
coefficient (Pearson's r) for every combination of the give layercodes. The
correlation between a terrestrial and a marine layer has been set to
NA
.
layers_correlation(layercodes = c())
layercodes |
character vector or dataframe. Codes of the layers, you want the correlation matrix of, as a character vector or a dataframe with a "layer_code" column. With the default empty vector the correlation between all layers is returned. |
A dataframe with the Pearson product-moment correlation coefficients.
list_layers layer_stats
correlation_groups plot_correlation
# correlation of the first 10 layers
layers_correlation()[1:10,1:10]
layers_correlation(c("BO_calcite", "MS_bathy_5m"))
layers_correlation(c("BO_calcite", "MS_bathy_5m"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.