Learn R Programming

picasso (version 0.5.0)

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

Description

Extract estimated regression coefficient vectors from the solution path.

Usage

"coef"(object, lambda.idx = c(1:3), beta.idx = c(1:3), ...)

Arguments

object
An object with S3 class "lasso"
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

picasso and picasso-package.