Hello list, Is there any way to bandpass filter in R thanks nuncio -- Nuncio.M Research Scientist National Center for Antarctic and Ocean research Head land Sada Vasco da Gamma Goa-403804 [[alternative HTML version deleted]]
Try this: library(sos) findFn('bandpass') If necessary, install the package first. I got 24 hits in eight packages. Hopefully one or more of them will be suitable. HTH, Dennis On Sat, Aug 14, 2010 at 8:52 PM, nuncio m <nuncio.m@gmail.com> wrote:> Hello list, > Is there any way to bandpass filter in R > thanks > nuncio > > -- > Nuncio.M > Research Scientist > National Center for Antarctic and Ocean research > Head land Sada > Vasco da Gamma > Goa-403804 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
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