powered by
Extract glmnet effects
extract.glmnet.effects(betas, best.index, x.scaled, x.original)
glmnet$beta
index k
the scaled version of x
the original x Assuming that the first row is the x.interest