From btyner at stat.purdue.edu  Sat Dec 16 15:49:46 2006
From: btyner at stat.purdue.edu (btyner at stat.purdue.edu)
Date: Sat, 16 Dec 2006 15:49:46 +0100 (CET)
Subject: [Rd] co.intervals when overlap=0 or 0.5 (PR#9419)
Message-ID: <20061216144946.02ED24421C@slim.kubism.ku.dk>

Full_Name: Benjamin Tyner
Version: 2.4.0
OS: linux-gnu
Submission from: (NULL) (71.98.75.54)


As pointed out by Brian Ripley on R-devel, co.intervals does xr <- x[r + ii]
with a fractional r, leading to intervals that don't match the ones returned by
S-PLUS when overlap=0 or 0.5. For example,

x<-1:10
z<-co.intervals(x,overlap=0) 

As I had already peaked at co.intervals in S-PLUS, I probably shouldn't be the
one to contribute a fix.



[Rd] co.intervals when overlap=0 or 0.5 (PR#9419)
btyner at stat.purdue.edu