match_rows {multivariance} | R Documentation |
Returns the row indicies of matrix A which match with B
match_rows(A, B)
A |
matrix |
B |
matrix whose rows are subset of A |
# A = t(utils::combn(10,3))
# B = A[sort(sample.int(nrow(A),10)),]
# match_rows(A,B)