View source: R/signal_processing.R
filter_signal | R Documentation |
Filter signal, defaluts to 2nd order Butterworth low pass filter
filter_signal( signal, cutoff_frequency, signal_col = 2, sample_rate = NULL, type = "low", trim_ends = 0, postfix = "_filt", filter_func = signal::butter, filter_order = 2, ... )
signal |
Vector or signal dataframe with time column |
cutoff_frequency |
Critical frequency of filter |
signal_col |
column with signal to filter |
sample_rate |
Sample rate of signal. If NULL, this is calculated from the time column. |
type |
passed to |
trim_ends |
Seconds to trim off each end after filtering. To remove tails towards 0 |
postfix |
Postfix to the new column |
filter_func |
Signal function to use for filtering e.g. signal::cheby2 |
filter_order |
Passed to |
... |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.