cov.orc {recmetrics} | R Documentation |
Compute observed residual covariances (ORC) matrix among observed residuals for variables supplied data.
cov.orc(data, na.rm = TRUE)
data |
A data.frame or tibble |
na.rm |
logical (defaults to TRUE) |
A numeric matrix of correlations among variable residuals.
# Use the SCWB data example
data(SCWB)
cov.orc(SCWB[, 1:20])