Description Usage Arguments Value
View source: R/variable_selection.R
high_cor_selector is function for comparing the two highly correlated variables, select a variable with the largest IV value.
| 1 2 3 4 5 6 7 | high_cor_selector(
  cor_mat,
  p = 0.95,
  x_list = NULL,
  com_list = NULL,
  retain = TRUE
)
 | 
| cor_mat | A correlation matrix. | 
| p | The threshold of high correlation. | 
| x_list | Names of independent variables. | 
| com_list | A data.frame with important values of each variable. eg : IV_list. | 
| retain | Logical, output selected variables, if FALSE, output filtered variables. | 
A list of selected variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.