coef.cv.l0ara {l0ara}R Documentation

print coefficients from a "cv.l0ara" object.

Description

Print the coefficients from the model with the optimal lambda.

Usage

## S3 method for class 'cv.l0ara'
coef(object, ...)

Arguments

object

Fitted "cv.l0ara" object.

...

Not used argument.

Details

This function fit the model with the optimal lambda first and then print the coefficients. This function makes it easier to use the results to make a prediction or to see the fitted model.

Value

The object returns the coefficients.

Author(s)

Wenchuan Guo <wguo007@ucr.edu>, Shujie Ma <shujie.ma@ucr.edu>, Zhenqiu Liu <Zhenqiu.Liu@cshs.org>

See Also

predict method and l0ara function.


[Package l0ara version 0.1.6 Index]