reduce_high_cor
is function for comparing the two highly correlated variables, select a variable with the largest IV value.
reduce_high_cor(cor_mat, p = 0.9, 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.