FreesearchR/reference/correlation_pairs.md

565 B

Determine significant correlations in the data set

Determine significant correlations in the data set

Usage

correlation_pairs(data, threshold = 0.8)

Arguments

  • data:

    data.frame

  • threshold:

    correlation threshold

Value

data.frame

Examples

correlation_pairs(mtcars)
#> Error in cor$r %>% as.table(): could not find function "%>%"
correlation_pairs(mtcars,.9)
#> Error in cor$r %>% as.table(): could not find function "%>%"
correlation_pairs(mtcars[c(1:4),])
#> [1] var1 var2 cor 
#> <0 rows> (or 0-length row.names)