match.rows: Returns the row indices of matrix A which match with B Use...

Description Usage Examples

View source: R/multivariance-functions.R

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

1
match.rows(A, B)

Examples

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

multivariance documentation built on Oct. 6, 2021, 5:08 p.m.