Description Usage Arguments Value Examples
View source: R/removeCorrelatedCovariets.R
This function takes column names and looks for correlations between these columns and drops one of them if the correlation is above the tolerance
1 | removeCorrelatedCovariates(names, tolerance, myDataFrame)
|
names |
The columnames to be annalyzed |
tolerance |
The highest allowed correlation |
myDataFrame |
Data frame which should be annalyzed |
A data frame with the correlation coefficents in descending order
1 2 | names = c('one', 'kpi', 'sun')
removeCorrelatedCovariates(names = names, tolerance = .9, myDataFrame = mydf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.