powered by
Performs the difference operation of a vector time series
diffM(zt, d = 1)
A vector time series (T by k, with sample size T and dimension k)
Order of differencing. Default is d=1.
The differenced time series
When d = 1, the command is equivalent to apply(zt,2,diff)
# NOT RUN { data("mts-examples",package="MTS") zt=log(qgdp[,3:5]) xt=diffM(zt) # }
Run the code above in your browser using DataLab