Filter a Time Series by FFT function.
1 | kdfilterFFT <- function (TSerie, WidthW=0.02*length(TSerie), Slide=WidthW , Filter="mean" , Range=c(20,70))
|
TSerie |
Time Series. |
WidthW |
Filter's Window Width |
Slide |
Displacement of the window filter. |
Filter |
Type of Filter. "mean"=rectangular window, "gauss"=gauss window. |
Range |
Range of frecuencies that we want to eliminate in |
This function makes the FFT filter of a time series.You can choose the Width of the filter window and the window slide.The window can be "gauss" type or "rectangular".Plot the original time series and the filtered series too.
Francisco Javier Martinez de Pisón.
francisco.martinez@dim.unirioja.es
Miguel Lodosa Ayala.
miguelodosa@hotmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.