Learn R Programming

multivariance (version 2.4.1)

match.rows: Returns the row indices of matrix A which match with B Use the fast cpp implementation 'match_rows' instead. Function here just for reference.

Description

Returns the row indices of matrix A which match with B Use the fast cpp implementation 'match_rows' instead. Function here just for reference.

Usage

match.rows(A, B)

Arguments

Examples

Run this code
# NOT RUN {
# A = t(utils::combn(10,3))
# B = A[sort(sample.int(nrow(A),10)),]
# match.rows(A,B)

# }

Run the code above in your browser using DataLab