Thanks for the replies. I finally figured it out after looking at ts.R and the 
docs for ts(). I should have looked into ts() first, instead of frequency(). 
Didn't realize exactly what I was doing in declaring a data set as ts(). 
   
  Thanks again,
  Bob

Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
  Note that frequency only reads off the information in an object, e.g.

> frequency(presidents)
[1] 4

comes from

> tsp(presidents)
[1] 1945.00 1974.75 4.00

You may know you have quarterly data, but did you tell R? Is it even 
known to R as a time series?

-- 
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
  


                
---------------------------------

        [[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

Reply via email to