[Rd] co.intervals when overlap=0 or 0.5 (PR#9419)
btyner at stat.purdue.edu
btyner at stat.purdue.edu
Sat Dec 16 15:49:46 CET 2006
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.
More information about the R-devel
mailing list