Learn R Programming

orderedLasso (version 1.7.1)

predict.orderedLasso: make predictions from a fitted "orderedLasso" object

Description

Similar to other predict methods, this functions predicts fitted values from a fitted "orderedLasso" object.

Usage

# S3 method for orderedLasso
predict(object, newdata, ...)

Arguments

object

fitted "orderedLasso" model

newdata

Matrix of new values for object at which predictions are to be made.

...

Not used. Other arguments to predict.

Value

yhat

fitted y values