The value matching function in R is very useful. But from my understanding, it does not sufficiently support two or high dimensional inputs.
R
For examp
match will work on lists of atomic vectors. So to match rows of one matrix to another, you could do:
match
list
match(data.frame(t(x)), data.frame(t(y)))
t transposes the rows into columns, then data.frame creates a list of the columns in the transposed matrix.
t
data.frame