I have a time series of temperature data recorded every 2 hours and I would like to generate a spectrogram using the spectrum function that examines cycles per day. My statement for coding the series using the ts function is
bevtemp<-ts(bevtemp,deltat=0.0833334) where 0.0833334 is 2 hours/24 hours. I am wondering if this is the correct way to code the data? Thanks for your help. Gary Nelson. ************************************************************************ * Gary A. Nelson Massachusetts Division of Marine Fisheries 30 Emerson Avenue Gloucester, MA 01930 Phone: (978) 282-0308 x114 Fax: (617) 727-3337 Email: [EMAIL PROTECTED] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html