Misc$CsvList.merge {IdMappingAnalysis} | R Documentation

## Pairwise merge of two string vectors

### Description

Pairwise merge of two string vectors.

### Usage

    ## Static method (use this):
    ## Misc$CsvList.merge(s1, s2, mergeOp, asStrings=TRUE, ...)

    ## Don't use the below:
    ## S3 method for class 'Misc'
    CsvList.merge(static, s1, s2, mergeOp, asStrings=TRUE, ...)

### Arguments

`s1` | First string vector.
`s2` | Second string vectors.
`mergeOp` | Merging operation (intersect, setdiff etc.)
`asStrings` | If TRUE (default), convert the resulting string vector into the vector of comma separated strings.
`...` | Not used

### Value

If asStrings=TRUE, the vector of comma separated strings representing the merging results, and if asStrings=FALSE, then result is a `matrix` of strings where each row represents the pairwise merge.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `Misc`.

### Examples

     mrg<-Misc$CsvList.merge(c("a","b"),c("d","f"),mergeOp=union);

[Package IdMappingAnalysis version 1.24.0 Index]