unique.UniquePairs: Extract unique elements

Description Usage Arguments Value Author(s) Examples

Description

Removes duplicate ID pairs from a given UniquePairs object so the resuting UniquePairs object contains only unique ID pairs

Usage

1
2
## S3 method for class 'UniquePairs'
unique(x, incomparables=FALSE, verbose=FALSE, ...)

Arguments

\ itemincomparablesNot used (defined for compatibility with generic).

verbose

if TRUE enables diagnostic messages. Default is FALSE.

...

Not used.

Value

UniquePairs object with dublicate ID pairs removed.

Author(s)

Alex Lisovich, Roger Day

Examples

1
2
3
4
5
6
7
 pairs1<-UniquePairs$create(examples$identDfList[[1]]);
 pairs2<-UniquePairs$create(examples$identDfList[[2]]);
 dup_pairs<-UniquePairs(rbind(as.data.frame(pairs1),as.data.frame(pairs2)));
 dim(dup_pairs);
 unique_pairs<-dup_pairs$unique();
 dim(unique_pairs);
 

IdMappingAnalysis documentation built on May 31, 2017, 2:34 p.m.

Search within the IdMappingAnalysis package
Search all R packages, documentation and source code