Learn R Programming

SPOT (version 2.11.10)

predict.spotLassoModel: Prediction method for lasso model

Description

Wrapper for predict.glmnet.

Usage

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

Arguments

object

fit of the model, an object of class "spotLassoModel", produced by buildLasso.

newdata

matrix of new data.

...

not used