Swap the primary and secondary key columns

Description

Swap the primary and secondary key columns.

Usage

1
2
3
4
5
6
## Static method (use this):
## UniquePairs$swapKeys(uniquePairs, ...)

## Don't use the below:
## S3 method for class 'UniquePairs'
swapKeys(static, uniquePairs, ...)

Arguments

uniquePairs

The UniquePairs object or a list of UniquePairs objects which keys to be swapped.

...

Not used.

Value

UniquePairs object or list of UniquePairs objects with swapped keys.

Author(s)

Alex Lisovich, Roger Day

Examples

1
2
3
4
5
 pairs<-UniquePairs$create(examples$identDfList[[1]]);
 pairs[1:10,];
 swapped_pairs<-UniquePairs$swapKeys(pairs);
 swapped_pairs[1:10,];
 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.