Skip to content

lattice -- panel order display

2 messages · Luis Ridao Cruz, Deepayan Sarkar

#
I do the following:

test$year <- factor (test$year , ordered = TRUE)
xyplot ( number~cm | year, data = test , type = "l" )

and still get the same.


Luis
Luis Ridao Cruz allegedly said on 3/1/2005 8:50 AM:
by
(in
same
Luis,

You should set test$year as ?ordered:

# set `levels' to the order you want the panels to appear
test$year <- ordered(test$year, levels = .......)
xyplot ( number ~ cm | year , data = test)

--sundar
#
On Tuesday 01 March 2005 10:41, Luis Ridao Cruz wrote:
What you haven't told us yet is what's wrong with what you get.

-Deepayan