View source: R/spectral-filter.R
filter_spectrum | R Documentation |
Filters a sparse spectrum using a user-provided function.
filter_spectrum(x, fun, ...)
x |
Object to filter, passed to |
fun |
Function to apply. The input should be a vector of frequencies, the output should be a vector of envelope amplitudes for those frequencies. The spectral amplitudes will be multiplied by the outputs of this function for each frequency. |
... |
Optional parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.