Hi, so i have these two variables A and B. I want to generate a variable C which will take the largest row value between A and B, and assign the name of the relevant variable instead of the value.
This is shown in the table below.
What command should I use?
This is shown in the table below.
A | B | C |
2 | 5 | B |
1 | 0 | A |
Comment