Description Usage Arguments Value Examples
D
calculates the difference between an xts
time series and
its lag.
1 |
x |
'xts' time series variable |
lag |
numeric or character value indicating the number of periods to
lag x. Defaults to one lag. Character inputs indicate the type of time
period to lag. |
diff |
number of times the |
differenced 'xts' object.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.