This happens equally when overlap = 0.5 (the default).
Yes, it is a bug. R does xr <- x[r + ii] with fractional r.
On Fri, 15 Dec 2006, Benjamin Tyner wrote:
> I apologize if this is just a misunderstanding on my part, but I was
> under the impression that the intervals returned by co.intervals
I apologize if this is just a misunderstanding on my part, but I was
under the impression that the intervals returned by co.intervals should
cover all the observations. Yet
x<-1:10
z<-co.intervals(x,overlap=0)
In R, z equals
[,1] [,2]
[1,] 0.5 1.5
[2,] 2.5 3.5
[3,] 3.5 4.5
[4,] 5.5