diff.ts {ts} | R Documentation |
diff
method for ts
objects.
diff.ts(x, lag=1, differences=1)
x |
an object of class "ts" containing the values to be
differenced. |
lag |
an integer indicating which lag to use. |
differences |
an integer indicating the order of the difference. |