View source: R/predict.foreccomb_res.R
predict.foreccomb_res | R Documentation |
prediction
method for class ‘foreccomb_res’. Uses the previously created forecast combination
result to predict the combination for a newly provided prediction dataset.
## S3 method for class 'foreccomb_res'
predict(object, newpreds, newobs = NULL, simplify = TRUE, byrow = FALSE, ...)
object |
An object of class 'foreccomb'. Contains training set (actual values + matrix of model forecasts) and optionally a test set. |
newpreds |
A matrix or multivariate time series; contains individual model forecasts if a test set is used (optional). Does not
require specification of |
newobs |
A vector or univariate time series; contains ‘actual values’ if a test set is used (optional). |
simplify |
logical. The default ( |
byrow |
logical. The default ( |
... |
potential further arguments (require by generic) |
Adapted from Christoph E. Weiss and Gernot R. Roetzer (ForecastComb)
foreccomb
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.