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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.