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] | Species, iris) 
# if I understand you, this is "easy"
parallel(~iris[c(3,2,1,4)] | Species, iris) 

# so I only can think you mean this...
iris$SpeciesR =  with(iris, 
  factor(Species,levels= levels(Species)[c(3,1,2)]))
parallel(~iris[1:4] | SpeciesR, iris) 
# .. but I am sure you know this already


Dieter

-- 
View this message in context: 
http://n4.nabble.com/Ordering-variables-in-a-parallel-coordinates-plot-tp997388p997909.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to