Description Usage Arguments Value
View source: R/event_detection.R
Formats output data from sts result objects
1 2 3 4 5 6 7 8 9 10 | stss_res_to_output_data(
stss_res_list,
epi_fc_data,
quo_groupfield,
quo_popfield,
val_type,
inc_per,
groupings,
report_dates
)
|
stss_res_list |
List of sts output object from Farrington algorithm. |
epi_fc_data |
Internal pass of epidemiological data complete with future forecast values. |
quo_groupfield |
Quosure of the user given geographic grouping field to run_epidemia(). |
quo_popfield |
Quosure of user-given field containing population values. |
val_type |
An extract of report_settings$report_value_type after defaults applies - whether to return epidemiological report values in "incidence" or "cases" (default). |
inc_per |
An extract of report_settings$report_inc_per after defaults applies - number for what unit of population the incidence should be reported in, e.g. incidence rate per 1000 people. Ignored when report_settings$report_value_type is 'cases'. |
groupings |
A unique list of the geographic groupings (from groupfield). |
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. |
Returns a list of three series from the Farrington sts result output: "ed" : early detection alerts (ed period of most recent epi data) "ew" : early warning alerts (forecast/future portion) "thresh" : threshold values per week
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.