Description Usage Arguments Examples
Returns suitably lagged and iterated difference
diffx
computes simple differences.
rdffix
computes percentage differences.
ldiffx
computes logged differences.
1 2 3 4 5 |
x |
Univariate vector, numeric or ts object with only one dimension. |
n |
Value indicating which lag to use. |
order |
Value indicating the order of the difference. |
rho |
Value indicating the autocorrelation parameter. The purpose of this parameter is to provide quasi-differencing assuming the value falls within 0 and 1. |
fill |
Numeric value(s) or function used to fill observations. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.