Print the coefficients from the model with the optimal lambda
.
# S3 method for cv.l0ara
coef(object, ...)
Fitted "cv.l0ara" object.
Not used argument.
The object returns the coefficients.
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.