Divide the highly correlated variables into exclusive groups
deCorr(x, rho = 0.7, ngrp = floor(15 * ncol(x)/nrow(x)))
the predictor matrix
the preset correlation threshold. Variables with correlation higher than rho will be separate into exclusive groups. Default is set to 0.7
the number of blocks to separate variables
a dataframe of variable names `varname` and the variable subgroup membership `grp`