diff_cpp | R Documentation |
Returns the ith difference of a time series of rth lag.
diff_cpp(x, lag, differences)
x |
A |
lag |
A |
differences |
A |
A vector
containing the differenced time series.
JJB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.