diff Stages
Computes the intermediate differencing stages of a time series.
Return
the array of differencing stages.
Parameters
x
time series.
lag
the lag at which to difference.
differences
the order of differencing.
Intermediate differencing stages of this time series.