corr_finder: Wrapper for find correlations

Description Usage Arguments Examples

View source: R/corr_finder.R

Description

Just a helper function for correl_panel.

Usage

1
corr_finder(df, corr_cutoff)

Arguments

df

The dataframe to use.

corr_cutoff

The correlation cutoff to pass to findCorrelations

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
X_1 <- rnorm(1000)
X_2 <- rnorm(1000) + 0.6 * X_1
X_3 <- rnorm(1000) - 0.4 * X_1

data_fm <- do.call( cbind, list( X_1,
                                 X_2,
                                 X_3 ))

corr_finder( df = data_fm,
             corr_cutoff = 0.3 )

panelWranglR documentation built on Oct. 3, 2019, 9:03 a.m.