Description Usage Arguments Value See Also Examples
If additional future information is required (such as exogenous variables)
by the model, then they should be included as variables of the new_data
argument.
1 2 |
object |
The time series model used to produce the forecasts |
new_data |
A |
specials |
(passed by |
... |
Additional arguments passed to |
A list of forecasts.
1 2 3 4 5 6 7 8 9 | if (requireNamespace("tsibbledata")) {
library(tsibble)
library(dplyr)
tsibbledata::aus_production %>%
model(
bsts = BSTS(Beer ~ season("year"))
) %>%
forecast()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.