[R] band pass filter

Matt Shotwell shotwelm at musc.edu
Sun Aug 15 16:35:15 CEST 2010


nuncio,

If you already have a filter kernel, you can use the filter function. Of
course, convolution filters can be applied directly using the discrete
Fourier transform via the fft function. For an example of filtering
(lowpass) with R, see http://biostatmatt.com/archives/78 , and the
associated R script linked there. Also see the link to a free
downloadable book by Steven Smith, which discusses the DFT and building
filter kernels.

-Matt

On Sat, 2010-08-14 at 23:52 -0400, nuncio m wrote:
> Hello list,
>               Is there any way to bandpass filter in R
> thanks
> nuncio
> 

-- 
Matthew S. Shotwell
Graduate Student 
Division of Biostatistics and Epidemiology
Medical University of South Carolina



More information about the R-help mailing list