I am getting the below error while trying cv.glmnet
from glmnet
package in R.
Error in all false (r0) object 'r_all0' not found
Code below
{wrap.glmnet.mdl.cv <- cv.glmnet(red.trn.x, red.trn.y, family="binomial")}
I am not able to figure out which "r_all0" object is referred here. Also, there is no such variable in the red.trn.x
matrix.