[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    [R]  ordering a factor in boxplot output
From:       Tubin <sredmonson () yahoo ! com>
Date:       2008-04-30 18:40:08
Message-ID: 16989073.post () talk ! nabble ! com
[Download RAW message or body]


I'm sure I'm missing something obvious in the documentation...

I'm generating a boxplot 
boxplot(CleanValue~ApptCategory*ReportingCode,data=newfile)
where ApptCategory is a factor with possible values ("New","Established")

Problem is, the output orders those factors alphabetically, and I'd really
rather see New come first. I'm apparently confused by the "reorder" function
because somehow my attempts to apply it have resulted in reversing the
labelling (so now the established boxes are labelled as new).

What am I missing?  Thanks.
-- 
View this message in context: \
http://www.nabble.com/ordering-a-factor-in-boxplot-output-tp16989073p16989073.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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic