Hi,
In my datasheet (example attached) there are in some cases more than one observation for each record. Can I somehow combine each record into one observation with more than one variable?
I tried using reshape without any luck. To me it seems like it should be an easy enough task, but I spend a lot of time now trying the reshape command etc. I am not even sure it's the command to use..
The best layout would be something like: RECORD, DIAG1, DIAG2, DIAG3....
Sincerely
Victor
In my datasheet (example attached) there are in some cases more than one observation for each record. Can I somehow combine each record into one observation with more than one variable?
I tried using reshape without any luck. To me it seems like it should be an easy enough task, but I spend a lot of time now trying the reshape command etc. I am not even sure it's the command to use..
The best layout would be something like: RECORD, DIAG1, DIAG2, DIAG3....
Sincerely
Victor
Comment