Learn R Programming

recmetrics (version 0.1.0)

cor.orc: Observed Residual Correlations

Description

Compute observed residual correlation (ORC) matrix among observed residuals for variables supplied data.

Usage

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

Value

A numeric matrix of correlations among variable residuals.

Arguments

data

A data.frame or tibble

na.rm

logical (defaults to TRUE)

Details

[Experimental]

Examples

Run this code
  # Use the SCWB data example
  data(SCWB)
  cor.orc(SCWB[, 1:20])

Run the code above in your browser using DataLab