[Rd] co.intervals when overlap=0 or 0.5 (PR#9419)

From: <btyner_at_stat.purdue.edu>
Date: Sat 16 Dec 2006 - 14:49:46 GMT


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.



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun Dec 17 01:52:02 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 16 Dec 2006 - 15:31:03 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.