DiffFilter | R Documentation |
Detrending through the computation of differences.
DiffFilter(x,BackTransformation=FALSE)
x |
[1:n] numerical vector |
BackTransformation |
Transforms the difference between values back to the original state given the first element as initial value, see example |
Trend correction is often proposed in order to avoid false regressions. The first value of differences is the first value of the numerical vector x in order to enable a transformation back, see example.
dx(1:n) = x(i)-x(lag(1)), mit x(-1) = x(1)
Michael Thrun
temporal data mining, Prof. Dr. Ultsch
DiffFilter(c(4,5,2.87,5.2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.