[R] inverse fourier transform

From: stephen sefick <ssefick_at_gmail.com>
Date: Sat, 01 Mar 2008 19:04:44 -0500

y<-ts(x, frequency=1/15)
spec.pgram(y, log="no")

There is high power in the very low frequency range for the data set of continuous dissolved oxygen on which I am preforming this analysis.  This is the seasonal trend due to temperature (and all things that are associated- photosynthesis, respiration, and anything else on which the doubling of a reaction rate ever ten degrees celcius would act). I would like to make this low frequency spike zero and then inverse fourier transform to get the "filtered" signal. spec.pgram spits out a matrix

z<-spec.pgram(y, log="no")

spec, frequency, and phase are returned. They are not matched up and I would like to take out the frequency and its associated spectrum in the range of 0-6.53*10^6. Any suggestions? thanks


Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 02 Mar 2008 - 00:07:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 02 Mar 2008 - 01:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive