View source: R/fortify_glmnet.R
fortify.glmnet | R Documentation |
glmnet::glmnet
to data.frame
Convert glmnet::glmnet
to data.frame
## S3 method for class 'glmnet'
fortify(model, data = NULL, ...)
model |
|
data |
original dataset, if needed |
... |
other arguments passed to methods |
data.frame
## Not run:
fortify(glmnet::glmnet(data.matrix(Orange[-3]), data.matrix(Orange[3])))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.