pre (version 1.0.7)

predict.gpe: Predicted values based on gpe ensemble

Description

Predict function for gpe

Usage

# S3 method for gpe
predict(
  object,
  newdata = NULL,
  type = "link",
  penalty.par.val = "lambda.1se",
  ...
)

Arguments

object

of class gpe

newdata

optional new data to compute predictions for

type

argument passed to predict.cv.glmnet

penalty.par.val

argument passed to s argument of predict.cv.glmnet

...

Unused

Details

The initial training data is used if newdata = NULL.

See Also

gpe