coef.cv.l0ara: print coefficients from a "cv.l0ara" object.
Description
Print the coefficients from the model with the optimal lambda
.
Usage
# S3 method for cv.l0ara
coef(object, ...)
Arguments
object
Fitted "cv.l0ara" object.
Value
The object returns the coefficients.
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.