I'm sorry, but I wasn't aware that I should attach data (and can't, because I must not disclose them).
Thanks for helping me get rid of the individual points, I'm now trying to get standard errors and - more importantly - parallel lines for different values of a variable, e.g. history of depression YES=line1 , NO=line2. Adding group=variable, in the xyplot argument doesn't have any effect. Sorry, I really did read through the xyplot document and the help, and googled this problem, but found no solution. -T -- View this message in context: http://r.789695.n4.nabble.com/Simple-mean-trajectory-ordinal-variable-tp4634801p4634938.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.