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
What's wrong with
z - spec.pgram(ldeaths, plot = FALSE)
plot(1/z$freq, z$spec, log=y, xlab=period, ylab=power)
?
On Tue, 31 Jan 2006, Tom C Cameron wrote:
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
(p2[[2]],p2[[1]],type=l,col=blue)
points(p1[[2]],p1[[1]],type=l,col=brown)
points(p0[[2]],p0[[1]],type=o,col=black)
Message: 113
Date: Mon, 30 Jan 2006 17:45:58 -0800
From: Spencer Graves [EMAIL PROTECTED]
Subject: Re: [R] How do I normalise a power spectral density
analysis?
To: Tom C
[[1]],type=o,col=black)
Message: 113
Date: Mon, 30 Jan 2006 17:45:58 -0800
From: Spencer Graves [EMAIL PROTECTED]
Subject: Re: [R] How do I normalise a power spectral density
analysis?
To: Tom C Cameron [EMAIL PROTECTED]
Cc: r-help@stat.math.ethz.ch
Message-ID: [EMAIL
Since I have not seen a reply to this post, I will offer a comment,
even though I have not used spectral analysis myself and therefore have
you intuition about it. First, from the definitions I read in the
results from, e.g., RSiteSearch(time series power spectral density)
[e.g.,
Hi everyone
Can anyone tell me how I normalise a power spectral density (PSD) plot of a
periodical time-series. At present I get the graphical output of spectrum VS
frequency.
What I want to acheive is period VS spectrum? Are these the same things but the
x-axis scale needs transformed ?
Any