Learn R Programming

nestedcv (version 0.9.0)

coef.cva.glmnet: Extract coefficients from a cva.glmnet object

Description

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

Usage

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

Value

Sparse matrix containing coefficients from a cv.glmnet model

Arguments

object

Fitted cva.glmnet object.

...

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