cor2df: Variable pairs correlated above a threshold

Description Usage Arguments Details Value See Also

View source: R/utils.r

Description

This function returns a dataframe with the variable pairs above a given correlation threshold

Usage

1
cor2df(cor.matrix, threshold = 0.6)

Arguments

cor.matrix

correlation matrix

threshold

correlation threshold

Details

It is based on the cor function, but instead of a correlation matrix it returns a dataframe with the pairwise combinations above a threshold.

Value

a dataframe holding the variable pairs with a correlation higher than the specified threshold

See Also

cordf


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.