I would like to merge 2 vectors this way :
a = c(1,2,3) b = c(11,12,13) merged vector : c(1,11,2,12,3,13)
How could I do it ?
This will work using rbind :
rbind
c(rbind(a, b))
For example:
a = c(1,2,3) b = c(11,12,13) c(rbind(a,b)) #[1] 1 11 2 12 3 13
1.4m articles
1.4m replys
5 comments
57.0k users