powered by
glmnet::glmnet
data.frame
Convert glmnet::glmnet to data.frame
# S3 method for glmnet fortify(model, data = NULL, ...)
glmnet::glmnet instance
original dataset, if needed
other arguments passed to methods
if (FALSE) { fortify(glmnet::glmnet(data.matrix(Orange[-3]), data.matrix(Orange[3]))) }
Run the code above in your browser using DataLab