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

Tom C Cameron bgytcc at leeds.ac.uk
Tue Jan 31 10:19:47 CET 2006


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 at leeds.ac.uk
Leeds LS2 9JT
LS2 9JT




More information about the R-help mailing list