cor.rec: Relative Excess Correlations

View source: R/correlations.R

cor.recR Documentation

Relative Excess Correlations

Description

Compute relative excess correlation (REC) matrix among variables in supplied data.

Usage

cor.rec(data, na.rm = TRUE)

Arguments

data

A data.frame or tibble

na.rm

logical (defaults to TRUE)

Details

[Experimental]

Value

A numeric matrix of correlations among variable residuals.

Examples

  # Use the SCWB data example
  data(SCWB)
  cor.rec(SCWB[, 1:20])

recmetrics documentation built on May 29, 2024, 6:02 a.m.