forecast_opts | R Documentation |
Defines a list specifying the arguments passed to underlying stan
backend functions via stan_sampling_opts()
and stan_vb_opts()
. Custom
settings can be supplied which override the defaults.
forecast_opts(horizon = 7, accumulate)
horizon |
Numeric, defaults to 7. Number of days into the future to forecast. |
accumulate |
Integer, the number of days to accumulate in forecasts, if any. If not given and observations are accumulated at constant frequency in the data used for fitting then the same accumulation will be used in forecasts unless set explicitly here. |
A <forecast_opts>
object of forecast setting.
rstan functions.
fill_missing
forecast_opts(horizon = 28, accumulate = 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.