forecast_lastweek: Forecast last week of a 'dockless_df' object

Description Usage Arguments Value

Description

Forecasts the last week of a dockless_df time series, using a model generated with either build_single_model or build_models. Each day will be forecasted seperately, with a period of data of given length. The period of data to forecast with will always end at the start of the day that is forecasted.

Usage

1
forecast_lastweek(data, method, model = NULL)

Arguments

data

object of class dockless_df.

method

one of 'DBAFS', 'NFS' or 'EFS', specifying the forecasting method to be used.

model

forecasting model, either of class ARIMA, for non-seasonal data, or class stlm, for seasonal data. Ignored if method is set to either 'NFS' or 'EFS'.

Value

Returns an object of class dockless_fc_df, which is a data frame containing the observed values, forecasted values and corresponding prediction intervals.


luukvdmeer/dockless documentation built on May 10, 2019, 1:24 p.m.