yet another ts problem

Paul Gilbert pgilbert@bank-banque-canada.ca
Fri, 14 May 1999 13:55:12 -0400


>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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._