Can someone help me with this transformation. I have a dataset:
ID | a1 | a2 | a3 |
---|---|---|---|
a | 1 | 5 | 3 |
a | 2 | 3 | 3 |
b | 2 | 3 | 5 |
b | 3 | 5 | 6 |
c | 5 | 1 | 3 |
c | 2 | 4 | 2 |
and i want it like this:
ID | Levels |
---|---|
a | 1 |
a | 5 |
a | 3 |
a | 2 |
a | 3 |
a | 3 |
b | 2 |
b | 3 |
b | 5 |
b | 3 |
b | 5 |
b | 6 |
..... and so forth.Thanks!