Skip to content
Prev 106091 / 398506 Next

Reverse order of grouping factor in grouppedData

On 12/13/06, RMan54 <RMan54 at cox.net> wrote:
Why? Why not consider the more natural solution of reordering while
plotting? The 'as.table' argument of xyplot allows you to order panels
from top to bottom, and arguments to xyplot etc can be passed to
plot(groupedData.obj...) calls directly. If you feel that the default
is "unfortunate", you can even change it globally using

lattice.options(default.args = list(as.table = TRUE))

-Deepayan