Description Usage Arguments Value Examples
View source: R/par_catch_all.R
Extract the numeric array of fitted values with the forecast added on to the end.
1 2 3 4 5 6 7 | extract_model_fit_forecast(
x,
steps = 3,
xreg = NULL,
freq = "month",
num.cores = 2
)
|
x |
list of models from par_catch_all |
steps |
integer of how many steps out you want to forecast |
xreg |
list of matrix/array of exogenous regressors you want to use to forecast only applicable to certain models |
freq |
string of characters indicating e.g. "month" for monthly etc |
num.cores |
integer for the number of cores you want to use |
list of numeric arrays with forecasts appended
1 2 3 4 5 | ## Not run:
test <- replicate(5, list(ldeaths))
test_model <- par_time_series_catch(test, num.cores = 12)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.