Convenience helper to quickly flag highly correlated regressors.
Value
A list with elements: ok
(logical), pairs
(data.frame with
offending pairs and their correlations). Invisibly returns the same list.
Examples
if (FALSE) { # \dontrun{
res <- check_collinearity(design_matrix(emodel), threshold = 0.95)
if (!res$ok) print(res$pairs)
} # }