getMatch.UniquePairs {IdMappingAnalysis}R Documentation

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

## S3 method for class 'UniquePairs'
getMatch(this, other, verbose=FALSE, ...)

Arguments

other

Another UniquePairs object or a list of objects the given object os compared to

...

Not used.

Value

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

Author(s)

Alex Lisovich, Roger Day

Examples

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

[Package IdMappingAnalysis version 1.30.0 Index]