On 7/23/05, Prof Brian Ripley [EMAIL PROTECTED] wrote:
From what I understand, you want to set up a factor with the levels
reversed. It is not that `5 is larger than 1', but that you created a
factor with the levels in alphabetic order. Lattice plots in the order of
the levels.
Something
From what I understand, you want to set up a factor with the levels
reversed. It is not that `5 is larger than 1', but that you created a
factor with the levels in alphabetic order. Lattice plots in the order of
the levels.
Something like f - factor(f, levels=rev(levels(f))) will do this.
Hi R-people,
I have a question about lattice in general, and histogram specfically. How do
you control the ordering of factors that controls the placement of the
conditional panels. I have a dataset with factors that go 'Q1','Q2',Q3','Q5'
and of course I want the plot to place Question Q1 at