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

View source: R/cva.glmnet.R

coef.cva.glmnetR 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


nestedcv documentation built on June 22, 2024, 11:30 a.m.