I have a data.table like:
Cell Num
a 1,2,3,4,5,6
b 7,8,9
c 10,11,12
d 13,14
I need to convert it to:
Num Cell
1 a
2 a
3 a
4 a
5 a
6 a
7 b
8 b
9 b
10 c
11 c
12 c
13 d
14 d
how can we break the table into the format required ?