as.IdMap.UniquePairs {IdMappingAnalysis} | R Documentation

## Convert the UniquePairs object into the IdMap object

### Description

Convert the UniquePairs object into the IdMap object.

### Usage

    ## S3 method for class 'UniquePairs'
    as.IdMap(this, keepOrder=TRUE, verbose=FALSE, ...)

### Arguments

`keepOrder` | `logical` indicating if the original order of primary IDs should be kept. Default is TRUE
`verbose` | if `TRUE` enables diagnostic messages. Default is `FALSE`.
`...` | Not used.

### Value

UniquePairs object or list of UniquePairs objects with swapped keys.

### Author(s)

Alex Lisovich, Roger Day

### Examples

    pairs<-UniquePairs$create(examples$identDfList[[2]]);
    idMap<-as.IdMap(pairs);
    idMap[1:10,];

[Package IdMappingAnalysis version 1.24.0 Index]