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])))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.