Interleave {bfw} | R Documentation |
Interleave
Description
mix vectors by alternating between them
Usage
Interleave(a, b)
Arguments
a |
first vector |
b |
second vector |
Value
mixed vector
Examples
a <- 1:3
b <- LETTERS[1:3]
Interleave(a,b)
# [1] "1" "A" "2" "B" "3" "C"
[Package bfw version 0.4.2 Index]