My DF looks like this:
ID V1 V2 V3
A 100 200
B 100
C 300
D 400
E 223 233 4
I want to transform it in R, such that the multiple 'V' columns come under one another with repeating IDs:
ID V1
A 100
A 200
B 100
C 300
D 400
E 223
E 233
E 4
What is the best way of doing this in R or Excel?