R/epinow-internal.R
update_horizon.Rd
update_horizon(horizon, target_date, reported_cases)
Numeric, defaults to 7. Number of days into the future to forecast.
Date, defaults to maximum found in the data if not specified.
A data frame of confirmed cases (confirm) by date (date). confirm must be integer and date must be in date format.
Numeric forecast horizon adjusted for the users intention