Serguei Kaniovski <Serguei.Kaniovski <at> wifo.ac.at> writes: > Ok I see how to sort the factors, but how do I compute the correlation > matrix in a repeated observations dataset (see the first part of my > question)
"Repeated" observations? You must be more specific then. Which function are you using (lme? Error() trickey in aov?). That's a problem quite independent of the ordering problem. Dieter ______________________________________________ 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.