---------- Forwarded message ----------
From: Antonio, Fabio Di Narzo <[EMAIL PROTECTED]>
Date: 21-set-2005 15.34
Subject: Re: [R] ts.intersect bug?
To: Martin Maechler <[EMAIL PROTECTED]>


2005/9/21, Martin Maechler <[EMAIL PROTECTED]>:
> >>>>> "AntonioFDN" == Antonio, Fabio Di Narzo <[EMAIL PROTECTED]>
> >>>>>     on Wed, 21 Sep 2005 13:59:26 +0200 writes:
>
>     AntonioFDN> This code gives an error:
>
>     AntonioFDN> a <- ts(1:10, start=0, freq=10)
>     AntonioFDN> b <- ts(1:10, start=1, freq=10)
>     AntonioFDN> ts.intersect(a,b)
>
> No, it gives a *warning* and returns NULL.

Ooops, bad example.
Try this instead:
a <- ts(runif(6500), start=0, freq=10)
b <- lag(a, 1)
c <- ts.intersect(a, b)

Gives an error from .cbind.ts

______________________________________________
R-help@stat.math.ethz.ch 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