I am needing help in reshaping a database from long to wide. I have 3 variables pid(unique identifier), Diagnosis and DiagnosisDate, as illustrastred below.
pid | Diagnosis | DiagnosisDate |
1 | HSV2 | 06-02-20 |
1 | HSV2 | 06-02-19 |
2 | TV | 01-01-20 |
2 | BV | 01-01-20 |
3 | Syphillis | 06-05-19 |
Many thanks
Ardele
0 Response to Reshaping dta from long to wide format
Post a Comment