[R] merging two vectors

Knut Krueger rh at krueger-family.de
Fri May 14 14:22:41 CEST 2010


Hi to all,

is there a better way instead for loop  to merge two vectors:

V1 <- c(1,3,5,7,9)
V2<-  c(20,40,60,80,100)
to
V_merged <- c(1,20,3,40,5,60,7,80,9,100)

Kind regards
Knut



More information about the R-help mailing list