[R] frequency() source code
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 8 18:18:59 CET 2005
On Tue, 8 Nov 2005, bob mccall 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.
Note that frequency only reads off the information in an object, e.g.
 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, ripley at stats.ox.ac.uk
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
More information about the R-help