Simple... but...
Shubha Vishwanath Karanth wrote:
Hi R, If x=c(1,3,5) y=c(2,4,6) I need a vector which is c(1,2,3,4,5,6) from x and y. How do I do it? I mean the best way....
... but seriously, rbind(x,y)[1:6] is one concise way to do it (x and y are bound into rows in a matrix which is the read in column-major order, as in fortran). vQ