Learn R Programming

flare (version 1.7.0.1)

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 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.

See Also

slim and flare-package.