Description Usage Arguments Details
Assumes a two-sided filter.
1 |
x |
A |
filter |
A |
Ends up being twice as fast as stats::filter(). Only 2-sided. Only convolution.
The argument, filter, should be of length 2*L + 1 (i.e., odd). The positive lag (causal) filter
coefficients should be in elements (L+1):(2*L) with the negative lag (acausal) filter coefficients
contained in the 1:L elements of filter. The L+1 index of filter is lag-0. This is the same convention as
required by stats::filter()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.