Hi
I tried to get values of 3 columns from a CSV and combine into a variable,but the output comes as combination of 3 and not as a single column.
EXample:
x<-c(1:5)
y<-c(6:10)
z<-c(11:15)
w<-c(x,y,z)
output
1 6 11
2 7 12
3 8 13
4 9 14
5 10 15
I want output like:1 2 3 4 5 6 7 8 9 10
Can someone help?
Following is the actual code:
Notice that I created some dummy data to solve this. Generally, it's helpful to include a reprex (short for reproducible example) when you ask a question - this will ensure we're all looking at the same data and code. A guide for creating a reprex can be found here.