I know that you can concatenate Using the DATA Step for different data sets. But how do you stack specific columns in the same data set?
I have variables x1 to x10 in a data set. And I want to stack them into two columns: (col 1): x1, x3, x5, x7, and x9 and (Col 2): x2, x4, x6, x8, and x10
Can't seem to figure this one out.
I have variables x1 to x10 in a data set. And I want to stack them into two columns: (col 1): x1, x3, x5, x7, and x9 and (Col 2): x2, x4, x6, x8, and x10
Can't seem to figure this one out.