predict.FDboost_fac | R Documentation |
Prediction and plotting for factorized FDboost model components
## S3 method for class 'FDboost_fac'
predict(object, newdata = NULL, which = NULL, ...)
## S3 method for class 'FDboost_fac'
plot(x, which = NULL, main = NULL, ...)
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 |
A matrix of predictions (for predict method) or no return value (plot method)
[factorize(), factorize.FDboost()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.