Description Usage Arguments Value
View source: R/forecasting_main.R
Run forecast regression
1 2 3 4 5 6 7 8 9 10 11 12 | forecast_regression(
epi_lag,
quo_groupfield,
fc_model_family,
report_settings,
groupings,
env_variables_used,
report_dates,
req_date,
valid_run,
naive
)
|
epi_lag |
Epidemiological dataset with basis spline summaries of the lagged environmental data (or anomalies), as output by lag_environ_to_epi(). |
quo_groupfield |
Quosure of the user given geographic grouping field to run_epidemia(). |
fc_model_family |
The |
report_settings |
This is a named list of all the report, forecasting, event detection and other settings. All of these have defaults, but they are not likely the defaults needed for your system, so each of these should be reviewed:
|
groupings |
A unique list of the geographic groupings (from groupfield). |
env_variables_used |
List of environmental variables that were used in the modeling. |
report_dates |
Internally generated set of report date information: min, max, list of dates for full report, known epidemiological data period, forecast period, and early detection period. |
req_date |
The end date of requested forecast regression. When fit_freq == "once", this is the last date of the full report, the end date of the forecast period. |
valid_run |
Internal TRUE/FALSE for whether this is part of a validation run. |
naive |
Internal TRUE/FALSE flag on if this is a naive-model run. |
Named list containing: date_preds: Full forecasted resulting dataset. reg_obj: The regression object from modeling. Unless model_run is TRUE, in which case only the regression object is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.