here is my problem.
I got the following dataset
obs ID p1 p2 p3 p4 perc
1 120265 . . . 25 a t 90%, b r 10%
2 120267 15 15 15 15 c e 80%, a 20%
3 120269 20 20 20 20 cc
I want to normalize it this way
obs ID p1 p2 p3 p4 perc
1 120265 . . . 25 a t 90%
2 120265 . . . 25 b r 10%
3 120267 15 15 15 15 c e 80%
4 120267 15 15 15 15 a 20%
5 120269 20 20 20 20 cc
I'll be glad to hear some suggestion! I can perc in multiple columns, but I have no idea how to normalize the dataseT! I'll be glad to receive some tips.
