This depends on how you constructed your time series in the first place. If you do it like this:
x <- ts(1:10, freq = 4) frequency(x) then frequency will be 4. Also, note that the zoo package contains a yearqtr class which may or may not be of interest to you. On 11/8/05, bob mccall <[EMAIL PROTECTED]> wrote: > > > Thanks for the replys and the link. I'll look through that file. I couldn't > understand why frequency() returns 1 when quarterly seasonal data is used. > Maybe I can find out looking at the code. > > > > Thanks again, > > Bob > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
