Learn R Programming

MDMA (version 2.0.0)

corList: List of correlation coefficients

Description

List all correlations in a correlation matrix without duplicates.

[Stable]

Usage

corList(x, ...)

Value

corList returns a list of correlations

Arguments

x

a numeric vector, matrix or data frame.

...

arguments passed to the cor function.

Author

Mathijs Deen

Examples

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

Run the code above in your browser using DataLab