I have a data set with the following columns
C1, V1, C2, V2, C3, V3.........C1000, V1000
all columns have equal number of observations (rows).
How can I combine the above data into a new data set with only a C, V columns which would include as rows all the rows of the long format data set?
You can also directly use the
reshapefunction inbaseR. I am using the same example as @Kohske