powered by
whichAeqB(A, B, errNoMatch='no match', err2Match='more than one match')
B
A
interpPairs
a2b <- whichAeqB(letters, 'b') stopifnot( all.equal(a2b, 2) )
Run the code above in your browser using DataLab