predict.OnlineARIMA.Rd
Similar to other predict methods, this function predicts fitted values from a fitted "OnlineARIMA" object.
# S3 method for OnlineARIMA
predict(model, forecast.length = NULL, ...)
S3
methods
R6Class object
A "OnlineARIMA" object for prediction.
integer, optional
Number of points to forecast.
Defaults to NULL.
Reserved parameter.
Predicted values are returned as a DataFrame.
Call the function and obtain the result:
> predict(model = onlinearima, forecast.length = 1)
ID FORECAST
1 0 1370.6701