Description Usage Arguments Value Author(s) See Also Examples
Pairwise merge of two string vectors.
1 2 3 4 5 6 | ## 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, ...)
|
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 |
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.
Alex Lisovich, Roger Day
For more information see Misc
.
1 2 | mrg<-Misc$CsvList.merge(c("a","b"),c("d","f"),mergeOp=union);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.