Skip to content
Prev 133466 / 398500 Next

How to rearrange lattice graphics output?

It works for me.

fg <- ordered(letters[1:3])
levelplot(1:3 ~ 1:3 * 1:3 | fg)
# (panels a, b, c)
fg <- ordered(fg, levels=c('c','b','a'))
levelplot(1:3 ~ 1:3 * 1:3 | fg)
# (panels c, b, a)
[1] "0.17-2"
On Jan 8, 2008 4:43 AM, Weidong Gu <wgu at uab.edu> wrote: