Calculate the date of the Saturday that ends the MMWR epidemic week for the given date,offset a specified number of epidemic week from a specified date

date_to_week_end_date(forecast_date, week_offset = 0)

Arguments

forecast_date

vector of dates as Date objects

week_offset

vector of week offsets. must be either length 1 or the same length as forecast_date

Value

character vector of dates in 'yyyy-mm-dd' format