Skip to content
Prev 279307 / 398506 Next

equating approximate values

My apologies: you need an abs() call as well:

which(abs(outer(x, y, "-")) < threshold, arr.ind = TRUE)

Michael

On Sun, Dec 4, 2011 at 6:25 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote: