View source: R/basic_functions.R
Interleave | R Documentation |
mix vectors by alternating between them
Interleave(a, b)
a |
first vector |
b |
second vector |
mixed vector
a <- 1:3 b <- LETTERS[1:3] Interleave(a,b) # [1] "1" "A" "2" "B" "3" "C"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.