Skip to content

Question about glmnet

1 message · David Katz

#
I believe you can in this sense: use model.matrix to create X for
glmnet(X,y,...).

However, when dropping variables this will drop the indicators individually,
not per factor, which may not be what you are looking for.

Good luck,
David Katz
Axel Urbiz wrote:
--
View this message in context: http://r.789695.n4.nabble.com/Question-about-glmnet-tp3006439p3517635.html
Sent from the R help mailing list archive at Nabble.com.