coef.cva.glmnet {nestedcv}R Documentation

Extract coefficients from a cva.glmnet object

Description

Extracts model coefficients from a fitted cva.glmnet() object.

Usage

## S3 method for class 'cva.glmnet'
coef(object, ...)

Arguments

object

Fitted cva.glmnet object.

...

Other arguments passed to coef.glmnet() e.g. s the value of lambda at which coefficients are required.

Value

Sparse matrix containing coefficients from a cv.glmnet model


[Package nestedcv version 0.7.9 Index]