row.match: Identifying rows in a matrix or data.frame
Description
Function for finding matching rows between two matrices or
data.frames. First the matrices or data.frames are vectorized by row
wise pasting together the elements. Then it uses the function match.
Thus the function returns a vector with the row numbers of (first) matches of
its first argument in its second.
Usage
row.match(x, table, nomatch = NA)
Arguments
x
Vector or matrix whose rows are to be matched
table
Matrix or data.frame that contain the rows to be matched against.
nomatch
the value to be returned in the case when no match is found.
Note that it is coerced to 'integer'.