rfilter | R Documentation |
Applies a recursive filter to a univariate time series.
rfilter(x, filter, init)
x |
A |
filter |
A |
init |
A |
Note: The length of 'init' must be equal to the length of 'filter'. This is a port of the rfilter function harnessed by the filter function in stats. It is about 6-7 times faster than R's base function. The benchmark was done on iMac Late 2013 using vecLib as the BLAS.
x A column vector
with its contents reversed.
JJB
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.