Description Usage Arguments Value Examples
A wrapper for apply(expand.grid())
1 | combo_paste(a, b, ..., sep = "")
|
a |
(character) vector 1, left-hand side of output |
b |
(character) vector 2, right-hand side of output |
... |
optional, additional arguments to expand.grid (e.g., character vectors to combine) |
sep |
(character) separates the results |
A character vector.
1 2 | combo_paste(letters[1:2], letters[3:4], sep = "_")
combo_paste(letters[1:2], letters[3:4], LETTERS[24:26], sep = "_") ## accommodates >2 vectors
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.