Displaying 2 results from an estimated 2 matches for "periodigram".
2010 Nov 22
1
cpgram: access data, confidence bands
...t;cpgram"
[1] from the MASS library. Here is a short example with the "lh"
(hormone level) dataset:
library(MASS)
plot(lh,type="l",ylab="value",xlab="time", main="Hormone Levels (lh)")
spectrum(lh, main="Hormone Levels (lh)") # periodigram
cpgram(lh, main="Hormone Levels (lh)") # cumul. periodigram
I got following two questions:
1. The command "cpgram" plots the cumulative periodogram without any
problem. But I could not figure out any way to access the data of the
plot (save it in a variable).
the following c...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...MASS library. Here is a short example with the "lh"
> (hormone level) dataset:
>
> library(MASS)
> plot(lh,type="l",ylab="value",xlab="time", main="Hormone Levels (lh)")
> spectrum(lh, main="Hormone Levels (lh)") # periodigram
> cpgram(lh, main="Hormone Levels (lh)") # cumul. periodigram
>
> I got following two questions:
>
> 1. The command "cpgram" plots the cumulative periodogram without any
> problem. But I could not figure out any way to access the data of the
> plot (save...