Re: [R] How do I "normalise" a power spectral density analysis?

From: Tom C Cameron <bgytcc_at_leeds.ac.uk>
Date: Tue 31 Jan 2006 - 20:19:47 EST

Hi Spencer, yes thanks it does help. In short I have resolved the issue.

In length, not directly, as I have not found a way to ask R to actually plot frequency vs. period directly, I have scoured the R help pages and Venebles & Ripley but the call to R "spectrum()" or "periodogram()" generates error messages if I try to enhance or change the plot!

I did find that you can install the library packages "growth" and "rmutil" and then use the function "pergram" that gives you the output of the PSD in a matrix which I have then transformed to give me the period (1/frequency).

Thankyou very much for replying and for the advice

Best wishes

Tom

...........................................................................
Dr Tom C Cameron                        office: 0113 34 32837 (10.23 Miall)
Ecology & Evolution Res. Group.         lab: 0113 34 32884 (10.20 Miall)
School of Biological Sciences           Mobile: 07966160266
University of Leeds                     email: t.c.cameron@leeds.ac.uk
Leeds LS2 9JT
LS2 9JT

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jan 31 20:28:54 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:15 EST