I have 3 strings:
a<-c("a1","a2","a3")
b<-c("b1","b2","b3")
c<-c("c1","c2","c3")
How can I get the following output:
"a1","b1","c1","a2","b2","c2","a3","b3","c3"
Here is what I tried:
paste(a,b,c,sep='","')
And what I got:
[1] "a1\",\"b1\",\"c1" "a2\",\"b2\",\"c2" "a3\",\"b3\",\"c3"
Is there a way to do it? Thank you.