View source: R/date_management.R
calc_target_end_date | R Documentation |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.