Interleave two vectors

Usage,
interleave(v1, v2)

Arguments

v1

Vector 1

v2

Vector 2

Examples

interleave(v1 = c(1,2,3) , v2 = c(4,5,6) )
#> [1] 1 4 2 5 3 6