Re: [R] splitting and reorganising a data.frame

2011-04-26 Thread jim holtman
try this: > x nr height age Seed 1 1 4.51 3 301 2 15 10.89 5 301 3 29 28.72 10 301 4 43 41.74 15 301 5 57 52.70 20 301 6 71 60.92 25 301 7 2 4.55 3 303 8 16 10.92 5 303 9 30 29.07 10 303 10 44 42.83 15 303 11 58 53.88 20 303 12 72 63.39 25 30

[R] splitting and reorganising a data.frame

2011-04-26 Thread Lutze
Hey, i have a question about how to reorganize a data frame in the easiest way. my example: what would be the easiest way to bring a data.frame such like this: nr height age Seed 1 1 4.51 3 301 2 15 10.89 5 301 3 29 28.72 10 301 4 43 41.74 15 301 5 57 52.70 20 30