Skip to content
Prev 273779 / 398502 Next

Wide to long form conversion

On Oct 7, 2011, at 1:30 PM, David Winsemius wrote:

            
It occured to me that the ordering operation probably should have  
preceded teh ancillary column creation so this method is tested:
Group Subj time value Time Var Ref
s.S1.1     s   S1    1     4    1   F  Me
s.S1.2     s   S1    2     5    2   F  Me
s.S1.3     s   S1    3     6    1   J  Me
s.S1.4     s   S1    4    10    2   J  Me
s.S1.5     s   S1    5     3    1   F She
s.S1.6     s   S1    6     6    2   F She
s.S1.7     s   S1    7     6    1   J She
s.S1.8     s   S1    8     9    2   J She
Lemon's method has the advantage that it properly carries along the  
column information
David Winsemius, MD
West Hartford, CT