A modl object. Contains the trained model we want to predict with.
n.ahead
Number of values to predict ahead of the end of the original time serie. Default value is 20. Must ve lower than 100.
tserie
A ts object.
predictions
A ts object.
Value
A list is returned of class pred containing:
tserie
Original time serie.
predictions
Time serie with the predictions.
Details
Predicts future values over a "modl" object which can be ARIMA or data mining, and returns
the predictions. Data mining predictions start right after the last value
contained in the training data, so they overlap with the end of the original.
The object contains only two time series: the original one
and the predictions. You can just set these series aswell.