Learn R Programming

flare (version 1.8)

coef.slim: Extract Model Coefficients for an object with S3 class "slim"

Description

Extract estimated regression coefficient vectors from the solution path.

Usage

# S3 method for slim
coef(object, lambda.idx = c(1:3), beta.idx = c(1:3), ...)

Arguments

object

An object with S3 class "slim"

lambda.idx

The indices of the regularization parameters in the solution path to display. The default values are c(1:3).

beta.idx

The indices of estimated regression coefficient vectors in the solution path to display. The default values are c(1:3).

...

Arguments to be passed to methods.

Author

Xingguo Li, Tuo Zhao, Lie Wang, Xiaoming Yuan and Han Liu
Maintainer: Tuo Zhao <tourzhao@gatech.edu>

See Also

slim and flare-package.