Description Usage Arguments Details Value See Also
Apply a Butterworth filter to data.
1 2 3 4 5 6 7 8 9 10 | Butterworth(x, ...)
## S3 method for class 'numeric'
Butterworth(x, samplingRate, order, cutoffs, type, ...)
## S3 method for class 'data.frame'
Butterworth(x, samplingRate, order, cutoffs, type, ...)
## S3 method for class 'list'
Butterworth(x, samplingRate, order, cutoffs, type, ...)
|
x |
A numeric vector or a data frame of numeric vectors. |
... |
Placeholder for future methods. |
samplingRate |
An atomic numeric, the sampling rate of |
order |
An atomic numeric, the order of the filter. |
cutoffs |
A numeric vector, the critical frequencies of the filter, in
hertz. For a low-pass or a high-pass filter, |
type |
A character string, either |
Butterworth
wraps signal::butter
and signal::filtfilt
,
putting data arguments first so that filtering plays nice with the forward
pipe. The filtering is done in the forward and reverse direction in order
to remove phase distortion from one-pass filtering.
The filtered data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.