get_required_forecast_horizon: How many weeks ahead are required to forecast specified...

Description Usage Arguments

View source: R/get_required_forecast_horizon.R

Description

How many weeks ahead are required to forecast specified targets

Usage

1
get_required_forecast_horizon(targets, h_max = 0, season_end_ew, cdc_report_ew)

Arguments

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"


reichlab/cdcForecastUtils documentation built on May 6, 2020, 10:43 a.m.