Hi all,
I have matrix A of 67420 by 2 and another matrix B of 59199 by 2. I would
like to find the number of rows of matrix B that I can find in matrix A (rows
that are common to both matrices with or without sorting).
I have tried the "intersection" and "is.element" functions in R but it only
working for the vectors and not matrix
i.e, intersection(A,B) and is.element(A,B).
Any suggestions please.
Oluwole
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.