Convert glmnet::glmnet to data.frame

Description

Convert glmnet::glmnet to data.frame

Usage

1
2
## S3 method for class 'glmnet'
fortify(model, data = NULL, ...)

Arguments

model

glmnet::glmnet instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

1
fortify(glmnet::glmnet(data.matrix(Orange[-3]), data.matrix(Orange[3])))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.