Interleave: Interleave

Description Usage Arguments Value Examples

Description

mix vectors by alternating between them

Usage

1
Interleave(a, b)

Arguments

a

first vector

b

second vector

Value

mixed vector

Examples

1
2
3
4
 a <- 1:3
 b <- LETTERS[1:3]
 Interleave(a,b)
 # [1] "1" "A" "2" "B" "3" "C"

bfw documentation built on May 2, 2019, 6:51 a.m.