From pgilbert@bank-banque-canada.ca  Fri May 14 18:55:12 1999
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Fri, 14 May 1999 13:55:12 -0400
Subject: yet another ts problem
References: <Pine.BSF.4.05.9905131005150.525-100000@g.ihaka.slip.auckland.ac.nz> <373A9D34.EE7511F9@iarc.fr> <373AEEDA.39CAAC16@bank-banque-canada.ca> <373C5DD5.CB6D93F8@iarc.fr>
Message-ID: <373C637F.6E37B1BE@bank-banque-canada.ca>

>3) Take all observations where time between "start" and the observation
>   is a multiple of "deltat".

ok, and I agree that window.ts seems a better place to do this. I would prefer

window.ts <- function (x, start=NULL, end=NULL, frequency=NULL, deltat=NULL)
then use is.null() rather than missing()
or
window.ts <- function (x, start=start(x), end=end(x), frequency=frequency(x),
deltat=NULL)

as I always get nervous (after many long hours debugging) about how missing
arguments will get matched.

Paul

P.S. And thanks for removing the warning.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


yet another ts problem
Paul Gilbert