[R] ordering columns (longitudinal data in wide format)

2006-08-02 Thread z . dalton
Hi, I am working on some longitudinal data in wide format and I am having a problem ordering the data columns. To expand, a subset of what I am working on is as follows; s L.qol.0 L.qol.0.08 L.qol.0.17 L.qol.0.25 L.qol.0.5 L.qol.0.42 L.qol.0.34 1 83 86 89 92

Re: [R] ordering columns (longitudinal data in wide format)

2006-08-02 Thread Gabor Grothendieck
Assuming this data: s - structure(list(L.qol.0 = 83, L.qol.0.08 = 86, L.qol.0.17 = 89, L.qol.0.25 = 92, L.qol.0.5 = 91, L.qol.0.42 = 87, L.qol.0.34 = 90), .Names = c(L.qol.0, L.qol.0.08, L.qol.0.17, L.qol.0.25, L.qol.0.5, L.qol.0.42, L.qol.0.34), class = data.frame, row.names = 1) #