forecast_single: Forecast a 'dockless_df' object

Description Usage Arguments Value

Description

Forecasts a dockless_df time series one day ahead.

Usage

1
forecast_single(forecast_data, evaluate_data, method, model = NULL)

Arguments

forecast_data

time series to be forecasted as object of class dockless_df.

evaluate_data

true observations of forecasted day, as 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, 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.