Re: [R] Barplot with Sorted X-Axis

2009-02-20 Thread Jim Lemon
Gundala Viswanath wrote: ... How do you do that? Yes I am using that data exactly for the plotting. Say you have this data frame (I'm too lazy to type in your example): testdat<-cut(rnorm(100,3),breaks=0:6) get a table: testtable<-table(testdat) testtable (0,1] (1,2] (2,3] (3,4] (4,5] (5

Re: [R] Barplot with Sorted X-Axis

2009-02-18 Thread Greg Snow
n...@r- > project.org] On Behalf Of Gundala Viswanath > Sent: Wednesday, February 18, 2009 8:25 AM > To: Jim Lemon > Cc: r-h...@stat.math.ethz.ch > Subject: Re: [R] Barplot with Sorted X-Axis > > Hi Jim, > > > > or sorting the columns of the above table if t

Re: [R] Barplot with Sorted X-Axis

2009-02-18 Thread Gundala Viswanath
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@r-project.org mailing list https://stat.ethz.ch/mailman/

Re: [R] Barplot with Sorted X-Axis

2009-02-18 Thread Jim Lemon
Gundala Viswanath wrote: Hi, I have a binned data that looks like this. (8.048,18.05] (-21.95,-11.95] (-31.95,-21.95] (18.05,28.05] (-41.95,-31.95] 81 76 18 18 12 (-132,-122] (-122,-112] (-112,-102] (-162,-152]

[R] Barplot with Sorted X-Axis

2009-02-18 Thread Gundala Viswanath
Hi, I have a binned data that looks like this. (8.048,18.05] (-21.95,-11.95] (-31.95,-21.95] (18.05,28.05] (-41.95,-31.95] 81 76 18 18 12 (-132,-122] (-122,-112] (-112,-102] (-162,-152] (-102,-91.95]