Re: [R] Binary Search

2007-08-08 Thread Felix Andrews
?findInterval On 8/8/07, Matthew Walker [EMAIL PROTECTED] wrote: Hi! R is an amazing piece of software and with so many libraries it can do almost anything... but I was very surprised that a standard binary search function seems not to exist. I can find other much more highly-complex

[R] Binary Search

2007-08-07 Thread Matthew Walker
Hi! R is an amazing piece of software and with so many libraries it can do almost anything... but I was very surprised that a standard binary search function seems not to exist. I can find other much more highly-complex search routines (optimize, uniroot, nlm) in the standard