Skip to content
Prev 43108 / 398506 Next

spectrum

On Thu, 22 Jan 2004, Andreas Pauling wrote:

            
It is correct!  co2[1:468] is not a time series: you should be using 
window() to subset time series.  So you supplied a vector which does not 
have a frequency (or a start or an end) and default values are used.

Did you consider actually looking at co2[1:468]?
Wait a minute: spectrum() does not estimate a spectral density but calls 
helper functions to do so.  Please consult their help pages.  The answer 
is a qualified `yes'.
Not an R question, and not well enough defined for a short answer.  See 
any good book on time series.