View source: R/arx_forecaster.R
arx_args_list | R Documentation |
Constructs a list of arguments for arx_forecaster()
.
arx_args_list(
lags = c(0L, 7L, 14L),
ahead = 7L,
n_training = Inf,
forecast_date = NULL,
target_date = NULL,
adjust_latency = c("none", "extend_ahead", "extend_lags", "locf"),
warn_latency = TRUE,
quantile_levels = c(0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95),
symmetrize = TRUE,
nonneg = TRUE,
quantile_by_key = character(0L),
check_enough_data_n = NULL,
check_enough_data_epi_keys = NULL,
...
)
lags |
Vector or List. Positive integers enumerating lags to use in autoregressive-type models (in days). By default, an unnamed list of lags will be set to correspond to the order of the predictors. |
ahead |
Integer. Number of time steps ahead (in days) of the forecast date for which forecasts should be produced. |
n_training |
Integer. An upper limit for the number of rows per
key that are used for training
(in the time unit of the |
forecast_date |
Date. The date from which the forecast is occurring.
The default
|
target_date |
Date. The date that is being forecast. The default |
adjust_latency |
Character. One of the
|
warn_latency |
by default, |
quantile_levels |
Vector or |
symmetrize |
Logical. The default |
nonneg |
Logical. The default |
quantile_by_key |
Character vector. Groups residuals by listed keys
before calculating residual quantiles. See the |
check_enough_data_n |
Integer. A lower limit for the number of rows per
epi_key that are required for training. If |
check_enough_data_epi_keys |
Character vector. A character vector of column names on which to group the data and check threshold within each group. Useful if training per group (for example, per geo_value). |
... |
Space to handle future expansions (unused). |
A list containing updated parameter choices with class arx_flist
.
arx_args_list()
arx_args_list(symmetrize = FALSE)
arx_args_list(quantile_levels = c(.1, .3, .7, .9), n_training = 120)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.