R/utils.R
extract.glmnet.effects.Rd
Extract glmnet effects
# S3 method for class 'glmnet.effects' extract(betas, best.index, x.recoded, x.original)
glmnet$beta
index k
the recoded version of x
the original x Assuming that the first row is the x.interest