[R] cpgram: access data, confidence bands

2010-11-22 Thread Henri Mone
Dear R experts, beginners and everyone else, I'm calculating cumulative periodogram using the command 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,

Re: [R] cpgram: access data, confidence bands

2010-11-22 Thread David Scott
On 22/11/10 22:54, Henri Mone wrote: Dear R experts, beginners and everyone else, I'm calculating cumulative periodogram using the command 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,