Convert wide to long format in R
- by Anthony
My data has a long format similar to the one below:
ID Language MotherTongue SpokenatHome HomeLang
1 English English English
1 French French
1 Polish Polish
2 Lebanese Lebanese Lebanese Labanese
2 Arabic Arabbic
Here is the output I am…