high_cor_selector
is function for comparing the two highly correlated variables, select a variable with the largest IV value.
high_cor_selector(
cor_mat,
p = 0.95,
x_list = NULL,
com_list = NULL,
retain = TRUE
)
A correlation matrix.
The threshold of high correlation.
Names of independent variables.
A data.frame with important values of each variable. eg : IV_list.
Logical, output selected variables, if FALSE, output filtered variables.
A list of selected variables.