Extract glmnet effects
extract.glmnet.effects(betas, best.index, x.recoded, x.original)
betas
: glmnet$betabest.index
: index kx.recoded
: the recoded version of xx.original
: the original x Assuming that the first row is the x.interestUseful links