Skip to content
Prev 132614 / 398506 Next

Finding overlaps in vector

Here is a modification of the algorithm to use a specified value for
the overlap:
+            cbind(value=vector+0.5, oper=-1, id=seq_along(vector)))
[1] 0.00 0.45
[1] 3.00 3.25 3.33 3.75 4.10
[1] 6.00 6.45
[1] 7.0 7.1
On Dec 21, 2007 4:56 AM, Johannes Graumann <johannes_graumann at web.de> wrote: