[R] Changing order of x factor in interaction plot

2008-12-05 Thread Kota Hattori
Hi all, I would like to ask one simple question. I wanna know how you can ask R to change the order of x factor when you draw interaction plot. I find that R puts factors in an alphabetic order (e.g., dog, lamb, and monkey etc). But I simply want to control the order. How can I do this? Aloha,

Re: [R] Changing order of x factor in interaction plot

2008-12-05 Thread jim holtman
Check out the 'levels' option on 'factor' On Fri, Dec 5, 2008 at 8:32 AM, Kota Hattori [EMAIL PROTECTED] wrote: Hi all, I would like to ask one simple question. I wanna know how you can ask R to change the order of x factor when you draw interaction plot. I find that R puts factors in an