On Wed, Nov 25, 2009 at 7:03 PM, Titus Malsburg <malsb...@gmail.com> wrote: > I was expecting > that this should plot the panels in the order in which the levels > occur in the data frame: > > xyplot(dur~roi|trial, data, index.cond=unique(as.integer(data$trial)))
The answer is apparently: xyplot(dur~roi|trial, data, index.cond=rank(unique(data$trial))) (Strange phenomenon, that I very often find the solution myself minutes after posting to the mailing list.) Best, Titus ______________________________________________ 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.