check_cor_threshold: Check for high correlations

View source: R/cov-cor.R

check_cor_thresholdR Documentation

Check for high correlations

Description

Issues a warning if the absolute value of any of the off-diagonal elements of .cor_mat exceed .threshold.

Usage

check_cor_threshold(.cor_mat, .threshold = 0.95)

Arguments

.cor_mat

Matrix of correlations to check

.threshold

Numeric scalar between 0 and 1. Will print a warning if the absolute values of any of the off-diagonals in the correlation matrix are above this threshold. If NULL, the default, skips this check.

See Also

cov_cor()


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.