Learn R Programming

R2admb (version 0.7.16.3)

find_large_cor: Find large correlations

Description

Find any correlations for which their absolute value exceeds a specified amount (rho). Returns a dataframe with row and column names and correlation from lower triangular matrix.

Usage

find_large_cor(x, rho = 0.9)

Value

a dataframe with 3 columns var1=row name, var2= column name or number, Value of matrix element. Only contains rows in which matrix element satisfies logical expression.

Arguments

x

correlation matrix

rho

abolute value for lower bound of correlation

Author

Jeff Laake