[R] grouping data
    adolfpf 
    dolf at synapse.sri.com
       
    Wed Jul 20 03:44:34 CEST 2011
    
    
  
All the examples in 'nlme' are in "Grouped Data: distance ~ age | Subject"
format.
How do I "group" my data in "dolf" the same way the data "Orthodont" are
grouped.
> show(dolf)
   distance   age Subjectt Sex
1    6.83679 22.01       F1   F
2    6.63245 23.04       F1   F
3   11.58730 39.26       M2   M
> show(Orthodont)
Grouped Data: distance ~ age | Subject
   distance age Subject    Sex
1       26.0   8     M01   Male
2       25.0  10     M01   Male
3       29.0  12     M01   Male
--
View this message in context: http://r.789695.n4.nabble.com/grouping-data-tp3679803p3679803.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list