summary.cv.glmnetr: Output summary for elastic net models fit within a...

View source: R/summary.cv.glmnetr_250502.R

summary.cv.glmnetrR Documentation

Output summary for elastic net models fit within a nested.glmnetr() output object.

Description

Summarize the cross-validation informed model fit. The fully penalized (gamma=1) beta estimate will not be given by default but can too be output using printg1=TRUE.

Usage

## S3 method for class 'cv.glmnetr'
summary(object, printg1 = "FALSE", orderall = FALSE, type = "lasso", ...)

Arguments

object

a nested.glmnetr() output object.

printg1

TRUE to also print out the fully penalized lasso beta, else FALSE to suppress.

orderall

By default (orderall=FALSE) the order terms enter into the lasso model is given for the number of terms that enter in lasso minimizing loss model. If orderall=TRUE then all terms that are included in any lasso fit are described.

type

once of c("lasso", "elastic", "ridge") to select for summarizing, with default of "lasso".

...

Additional arguments passed to the summary function.

Value

Coefficient estimates (beta)

See Also

predict.cv.glmnetr , nested.glmnetr


glmnetr documentation built on June 8, 2025, 10:12 a.m.