Learn R Programming

lass0 (version 1.1.0)

predict.lass0: Predict method for a Lasso-Zero fit

Description

Predicted values for the response given a new input matrix Xnew, based on a lass0 fit.

Usage

# S3 method for lass0
predict(object, Xnew, ...)

Arguments

object

a "lass0" object

Xnew

a new input matrix whose number of columns equals the number of coefficients returned in obj.

...

further arguments passed to or from other methods.

Value

vector of predictions

References

Descloux, P., & Sardy, S. (2018). Model selection with lasso-zero: adding straw to the haystack to better find needles. arXiv preprint arXiv:1805.05133. https://arxiv.org/abs/1805.05133

See Also

lass0