broom.helpers
broom.helpers copied to clipboard
Improving `glmnet` output
glmnet()
only accepts a matrix of continuous variables. It does not provide a model.frame()
or a model.matrix()
method.
However, should we consider that all variables are simply continuous?
CC @ddsjoberg
The result contains nobs
(the number of observations)
A class is also added on the model indicate the type ("elnet", "lognet", "multnet", "fishnet" (poisson), "coxnet" or "mrelnet" for the various types of models).
Closing it for now