Skip to content
Prev 205867 / 398506 Next

Panel order in lattice with xyplot

Carol wrote:
Never mind, R has s a steep (or, more accurately, shallow) learning curve.
Carol wrote:
For an easy, but restricted, way to change the order of the panels, see
as.table in the documentation of xyplot. To change the order panels with
categorical variable, it is easiest to change the order of the categories;
see, for example, "reorder".
Carol wrote:
Your example is fine, with the exception that other people cannot reproduce
it because they do not have the data file. So always include dummy data for
a detailed reply