corList {MDMA}R Documentation

List of correlation coefficients

Description

List all correlations in a correlation matrix without duplicates.

[Stable]

Usage

corList(x, ...)

Arguments

x

a numeric vector, matrix or data frame.

...

arguments passed to the cor function.

Value

corList returns a list of correlations

Author(s)

Mathijs Deen

Examples

mtcars[,c("mpg","disp", "hp", "drat", "wt", "qsec")] |>
  corList(method="spearman")

[Package MDMA version 1.1.0 Index]