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]]
Dear Christian, your question does not at all belong to R-devel. Please use R-help instead, but you should probably first read the posting guide, (and from that see that you should *not* send HTML-ified postings). Regards, Martin Maechler>>>>> "CM" == Christian Morgenstern <christian_m10 at hotmail.com> >>>>> on Mon, 1 Jun 2009 11:33:19 +0000 writes:CM> Hi, CM> i did a mistake with my first post. CM> I have to reshape data from this matrix: [..................] CM> [[alternative HTML version deleted]]