[R] Barplot with Sorted X-Axis

Greg Snow Greg.Snow at imail.org
Wed Feb 18 18:44:30 CET 2009


Can you show us the code used to get the data?

The usual methods that I can think of would have sorted the columns correctly for you.  The fact that this is not the case indicates that you are using a different method, or doing something that looses the information along the way.  If you show us the steps you are taking, then we can help track down where the problem is occurring.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Gundala Viswanath
> Sent: Wednesday, February 18, 2009 8:25 AM
> To: Jim Lemon
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Barplot with Sorted X-Axis
> 
> Hi Jim,
> 
> 
> > or sorting the columns of the above table if that is what you are
> using to
> > plot.
> 
> How do you do that? Yes I am using that data exactly for the plotting.
> 
> - GV.
> 
> 
> >
> > Jim
> >
> >
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list