[R] Time Series ts() Objects

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Mon Feb 11 03:08:55 CET 2002


Hi,

Is it possible to create a ts() object, whose data is daily based BUT
measured only on working days?

In other words, suppose I have a data set with 255 observations, measured
from 29 June 1959 to 30 June 1960.  How would I create such a data?  I
tried something like:
   ts(c(...), start(1959, 180))
but I'm not sure what to use for frequency.  In other words I don't know
how to "ignore" Saturdays and Sundays.

Many thanks in advance,

Ko-Kang Wang

------------------------------------------------------------------------------
Ko-Kang Kevin Wang
Postgraduate PGDipSci Student (Summer Research Assistant)
Department of Statistics
University of Auckland
New Zealand

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list