predict.FDboost_fac {FDboost} | R Documentation |
Prediction and plotting for factorized FDboost model components
Description
Prediction and plotting for factorized FDboost model components
Usage
## S3 method for class 'FDboost_fac'
predict(object, newdata = NULL, which = NULL, ...)
## S3 method for class 'FDboost_fac'
plot(x, which = NULL, main = NULL, ...)
Arguments
object , x |
a model-factor given as a |
newdata |
optionally, a data frame or list
in which to look for variables with which to predict.
See |
which |
a subset of base-learner components to take into
account for computing predictions or coefficients. Different
components are never aggregated to a joint prediction, but always
returned as a matrix or list. Select the k-th component
by name in the format |
... |
additional arguments passed to underlying methods. |
main |
the plot title. By default, base-learner names are used with
component numbers |
Value
A matrix of predictions (for predict method) or no return value (plot method)
See Also
[factorize(), factorize.FDboost()]