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

Description Usage Arguments Value Examples

View source: R/fortify_glmnet.R

Description

Convert glmnet::cv.glmnet to data.frame

Usage

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

Arguments

model

glmnet::cv.glmnet instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

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

sinhrks/ggfortify documentation built on May 26, 2018, 6:24 p.m.