Skip to content
Prev 325563 / 398503 Next

find closest value in a vector based on another vector values

Andras:

No.
Using the a = c(1,8,9) and b = 2:3 that ** I posted before**,  you get
the single unique value of 1.

Please stop guessing, think carefully about what you want to do, and
**test** your code.

-- Bert
On Tue, Jun 18, 2013 at 7:41 AM, Andras Farkas <motyocska at yahoo.com> wrote: