How to merge elements of vectors in new vector in R -



How to merge elements of vectors in new vector in R -

i want extract elements of each vector , new vector attached elements

x<-c(1,2,3,4) y<-c(w,w,w,w) z<-c(1,2,3,4)

expected result

xyz<-c(1w1,2w2,3w3,4w4)

thank

also,

as.character(interaction(x,y,z,sep="")) #[1] "1w1" "2w2" "3w3" "4w4"

r

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -