This is interesting, can you post your lm.ridge solution as well?  I
suspect in glmnet, you need to use model.matrix with intercept, that
could be the reason.

-m

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to