Description Usage Arguments Value Author(s) Examples
Intersperse elements of two+ vectors
Given two vectors (one of length i, the other of length j), intersperse
will combine the elements of each vector into strings of length
i X j, where each element is the concatenation of the elements of the two vectors. See examples.
1 |
... |
the vectors the user wishes to intersperse |
a vector of length i X j, containing the interspersed vectors as strings
Dustin Fife
1 | intersperse(LETTERS[1:3], 1:3)
|
Loading required package: MASS
[1] "A1" "B1" "C1" "A2" "B2" "C2" "A3" "B3" "C3"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.