View source: R/data_and_forecast.R
forecast_series | R Documentation |
Make a forecast of drug issues
forecast_series(data, horizon, frequency = "Daily")
data |
tsibble with two columns 'Date' and 'Quantity'. You can make
this with |
horizon |
integer. number of days/ weeks to forecast |
frequency |
String. One of 'Daily' or 'Weekly'- return daily or weekly forecasts |
mable with different forecast functions applied - mean, snaive (weekly seasonality), ARIMA (auto), and ETS (weekly seasonality for daily forecast, and none with weekly forecast)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.