predict.parboost: Generate predictions from parboost object

Description Usage Arguments Details Value Author(s) References

View source: R/methods.R

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.


parboost documentation built on May 29, 2017, 6 p.m.

Search within the parboost package
Search all R packages, documentation and source code