Description Usage Arguments Value
View source: R/forecasting_main.R
Create the appropriate regression equation.
1 2 3 4 5 6 7 8 | build_equation(
quo_groupfield,
epi_input,
report_settings,
n_groupings,
n_clusters,
env_variables_used
)
|
quo_groupfield |
Quosure of the user given geographic grouping field to run_epidemia(). |
epi_input |
Epidemiological dataset with basis spline summaries of the lagged environmental data (or anomalies), with groupings as a factor, trimmed to data being used to create the model |
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:
|
n_groupings |
Count of the number of geographic groups (groupfield) in total. |
n_clusters |
Count of the number of clusters in total |
env_variables_used |
a list of environmental variables that will be used in the modeling (had to be listed in model variables input file and present the env_data and env_info datasets) |
A formula to be used in the regression call, built based on settings for cyclicals, spline type, and the number of geographic groupings present. For thin plate splines, this will be a list of primary and fallback equations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.