alternate | R Documentation |
Inputs a list of equal length vectors, outputs a vector which is the merged vector by picking elements from each vector in alternating fashion.
alternate(x)
x |
(a list of vectors) The list of vectors. |
alternate(list(1:3, letters[1:3]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.