Takes a fitted FDboost
-object produced by FDboost()
and produces
predictions given a new set of values for the model covariates or the original
values used for the model fit. This is a wrapper
function for predict.mboost()
1 2 3 |
object |
a fitted |
newdata |
a named list or a data frame containing the values of the model
covariates at which predictions are required.
If this is not provided then predictions corresponding to the original data are returned.
If |
which |
a subset of base-learners to take into account for computing predictions or coefficients. If which is given (as an integer vector corresponding to base-learners) a list is returned. |
toFDboost |
logical, defaults to |
... |
additional arguments passed on to |
a matrix or list of predictions depending on values of unlist and which
FDboost
for the model fit
and plotPredicted
for a plot of the observed values and their predictions.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.