Hi,

i did a mistake with my first post.

I have to reshape data from this matrix:

id    x1         x2          x3        x4    day1 day2 day3 day4 day5 day6 day7 
day8  day9
1    0.129    0.797    0.231    0.615    4      4     1     1      1      1     
 3      3      3    
2    0.420    0.376    0.501    0.282    4      4     4     4      5      4     
 2      5      5    
3    0.377    0.486    0.897    0.699    4      4     4     4      4      4     
 4      4      4    
4    0.488    0.135    0.975    0.762    4      4     4     4      4      4     
 4      4      4    
5    0.694    0.568    0.525    0.101    4      1     1     1      1      5     
 1      5      5    

and my task is to reshape data such that each record contains only one 
participant (id) on one day

could somebody help me out with this?
does this mean every person have 9 records himself? for all 9 days?

thank you very much
_________________________________________________________________

--> Für Fotos hier abdrücken <-
        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to