I want to reshape my data long to wide.
So, I googled it and found this web page: https://stats.idre.ucla.edu/stata/mo...-long-to-wide/
This is a sample data from the web page.
famid | birth | age |
1 | 1 | 9 |
1 | 2 | 6 |
1 | 3 | 3 |
2 | 1 | 8 |
2 | 2 | 6 |
2 | 3 | 2 |
3 | 1 | 6 |
3 | 2 | 4 |
3 | 3 | 2 |
age1 | age2 | age3 |
9 | 8 | 6 |
6 | 6 | 4 |
3 | 2 | 2 |
0 Response to Reshape data long to wide but not normal wide
Post a Comment