Learn R Programming

IdMappingAnalysis (version 1.16.0)

getMatch.UniquePairs: Get the logical vector of pair matches of the given UniquePairs object in other UniquePair object(s)

Description

Compute the logical vector of matches or a list of such vectors between a given UniquePairs object and another UniquePairs object or a list of such objects. Analog of match() or %in% for vectors

Usage

"getMatch"(this, other, verbose=FALSE, ...)

Arguments

other
Another UniquePairs object or a list of objects the given object os compared to
...
Not used.

Value

vector or a list of logical vectors indicating if the given row in other UniquePairs object(s) is present in a given UniquePairs object.

Examples

Run this code
 pairs1<-UniquePairs$create(examples$identDfList[[1]]);
 pairs2<-UniquePairs$create(examples$identDfList[[2]]);
 matches<-pairs1$getMatch(pairs2);
 matches[1:50];
 

Run the code above in your browser using DataLab