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

View source: R/slim.R

coef.slimR Documentation

Extract Model Coefficients for an object with S3 class "slim"

Description

Extract estimated regression coefficient vectors from the solution path.

Usage

## S3 method for class '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 regularizaiton parameters in the solution path to be displayed. The default values are c(1:3).

beta.idx

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

...

Arguments to be passed to methods.

Author(s)

Xingguo Li, Tuo Zhao, Lie Wang, Xiaoming Yuan and Han Liu
Maintainer: Xingguo Li <xingguo.leo@gmail.com>

See Also

slim and flare-package.


flare documentation built on May 23, 2022, 9:05 a.m.