[R] Controlling Order of Panels in Lattice Trellis Plots
Rich Shepard
rshepard at appl-ecosys.com
Fri Feb 22 23:35:01 CET 2013
On Fri, 22 Feb 2013, David Winsemius wrote:
> `is.ordered` will return TRUE if it is an ordered factor. That's not what
> you want to know and using `as.ordered` would also fail to provide the
> needed ordering. You need to provide a proper levels argument to the
> factor function. And you will find that making an ordered factor will
> probably have undesirable side effects.
Thank you, David. That was the conclusion I was approaching as I tried
is.ordered and as.ordered and saw they did not affec the needed changes.
I'll look at levels or sort the input data file before reading it into R.
Rich
More information about the R-help
mailing list