Learn R Programming

multivariance (version 2.4.1)

match_rows: for the fast detection of the full dependence structure

Description

Returns the row indicies of matrix A which match with B

Usage

match_rows(A, B)

Arguments

A

matrix

B

matrix whose rows are subset of A

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