Generate predictions from parboost object

Share:

Description

Predict method for parboost objects

Usage

1
2
3
## S3 method for class 'parboost'
predict(object, newdata = NULL, type = c("response",
  "link"), ...)

Arguments

object

Object of class parboost

newdata

Optionally a data frame with new data to predict

type

String determining the type of prediction. The default "response" is on the scale of the response variable and "link" is on the scale of the predictors.

...

Additional parameters passed to predict.mboost.

Details

If no new data is passed to predict, predict outputs the fitted values. If you pass a data frame with new values to predict, it will generate the predictions for them.

Value

Numeric vector of fitted values

Author(s)

Ronert Obst

References

T. Hothorn, P. Buehlmann, T. Kneib, M. Schmid, and B. Hofner (2013). mboost: Model-Based Boosting, R package version 2.2-3, http://CRAN.R-project.org/package=mboost.