match.rows {multivariance}R Documentation

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)

Examples

# A = t(utils::combn(10,3))
# B = A[sort(sample.int(nrow(A),10)),]
# match.rows(A,B)


[Package multivariance version 2.4.1 Index]