calc_target_end_date.Rd
Calculate end date for a forecast is targeting.
calc_target_end_date(forecast_date, horizon, temporal_resolution)
forecast_date | character vector of dates in 'yyyy-mm-dd' format |
---|---|
horizon | number of weeks ahead a prediction is targeting |
temporal_resolution | string of target unit. Currently only 'wk' and 'day' are supported. |
character vector of dates in 'yyyy-mm-dd' format