Learn R Programming

orderedLasso (version 1.7.1)

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

Description

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

Usage

# S3 method for timeLagLasso
predict(object, newdata = NULL, ...)

Arguments

object

fitted "timeLagLasso" 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

yhat.ordered

fitted y values of the strongly ordered coefficients