Description Usage Arguments Author(s) Examples
View source: R/decimate.with.na.R
Based on decimate function from the "signal" package. By default, an order 8 Chebyshev type I filter is used or a 30-point FIR filter if ftype is 'fir'. Note that q must be an integer for this rate change method. Makes use of the filtfilt function with all its limitations.
1 | decimate.with.na(vect, q, n = if (ftype == "iir") 8 else 30, ftype = "iir")
|
q |
integer factor to downsample by. |
n |
filter order used in the downsampling. |
ftype |
filter type, "iir" or "fir" |
x |
signal to be decimated, may contain NAs. |
Nuzhdin Urii, Anastasia Fedorova
1 | decimate.with.na(x, q)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.