View source: R/epinow-internal.R
update_horizon | R Documentation |
Makes sure that a forecast is returned for the user specified time period beyond the target date.
update_horizon(horizon, target_date, data)
horizon |
Numeric, defaults to 7. Number of days into the future to forecast. |
target_date |
Date, defaults to maximum found in the data if not specified. |
data |
A |
Numeric forecast horizon adjusted for the users intention
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.