View source: R/get_required_forecast_horizon.R
How many weeks ahead are required to forecast specified targets
1 | get_required_forecast_horizon(targets, h_max = 0, season_end_ew, cdc_report_ew)
|
targets: |
character vector specifying targets to compute. May include: "wk ahead", "Below baseline for 3 weeks", "First week below baseline", "Peak height", "Peak week" |
h_max: |
horizon for week ahead forecasts |
season_end_ew: |
character specification of season end epidemic week, formatted as "2020-EW20" |
cdc_report_ew: |
character specification of epidemic week corresponding to most recent cdc report, formatted as "2019-EW40" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.