Re: [R] Ordering variables in a parallel coordinates plot

2010-01-03 Thread Charles C. Berry
On Sat, 2 Jan 2010, Tal Galili wrote: Hello all, I am searching for a way in R to re-order variables before presenting them in a parallel coordinates plot. So far I didn't find anything within a R related context on how to do this. I did find some texts talking about how it should be done in

Re: [R] Ordering variables in a parallel coordinates plot

2010-01-03 Thread Tal Galili
Hi Charles, Thanks for answering - you are right about the posting guide (sorry). In any case, my question wasn't on how to reorder the columns (that is simple), but on how to choose what order to put them in. Thanks, Tal Contact

Re: [R] Ordering variables in a parallel coordinates plot

2010-01-03 Thread Tal Galili
Hi Charles, You're solution is great (and is actually what my professor suggested me to do today). In the meantime I searched even more and found this article: http://davis.wpi.edu/~xmdv/docs/tr0313_osf.pdf That gives a good description of the problem and of his attempts at solving it. I

Re: [R] Ordering variables in a parallel coordinates plot

2010-01-03 Thread Charles C. Berry
On Sun, 3 Jan 2010, Tal Galili wrote: Hi Charles, Thanks for answering - you are right about the posting guide (sorry). In any case, my question wasn't on how to reorder the columns (that is simple), but on how to choose what order to put them in. OK, and I see you included a reference, so

Re: [R] Ordering variables in a parallel coordinates plot

2010-01-03 Thread Dieter Menne
Hi, Tal, Tal Galili wrote: In any case, my question wasn't on how to reorder the columns (that is simple), but on how to choose what order to put them in. So is your question answered? Or what exactly is the problem using the example below? library(lattice) parallel(~iris[1:4] |