fortify.glmnet: Convert 'glmnet::glmnet' to 'data.frame'

Description Usage Arguments Value Examples

View source: R/fortify_glmnet.R

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

ggfortify documentation built on May 29, 2017, 11:37 p.m.

Search within the ggfortify package
Search all R packages, documentation and source code