View source: R/date_management.R
| calc_relative_target | R Documentation | 
Calculate the effective target relative to the forecast_week_end_date
calc_relative_target(forecast_week_end_date, target_end_date, target)
| forecast_week_end_date | date or vector of dates of the same length as target_end_date, relative to which horizons should be calculated | 
| target_end_date | vector of dates defining dates targeted by forecasts | 
| target | vector of strings specifying targets, e.g. "1 wk ahead inc case" | 
vector of strings defining the target relative to the forecast_week_end_date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.