Re: [R] barchart but with boxes

2010-06-07 Thread Daisy Englert Duursma
Thanks to all, I did eventually come up with a solution which involved sub-setting the data first into categories, making an empty plot, and then plotting rectangles. I really like the ggplot2 and I will use that next time. My ugly script is below Thanks, Daisy plot(1, xlim=c(5,45),ylim=c(0,1

Re: [R] barchart but with boxes

2010-06-07 Thread ONKELINX, Thierry
body of data. ~ John Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Jim Lemon > Verzonden: maandag 7 juni 2010 13:27 > Aan: Daisy Englert Duursma > CC: r-help@r-project.org > Onderwerp: Re: [R]

Re: [R] barchart but with boxes

2010-06-07 Thread Jim Lemon
On 06/07/2010 04:53 PM, Daisy Englert Duursma wrote: Hello r-help. I have been working on making a graph and have several solutions but they are tedious at best. Here is an example dataset: catg<-(c(1,2,3,2,4,3,2,1,4,3,1)) min<-(c(1,2,3,3,4,5,6,6,3,2,1)) max<-(c(10,6,8,6,7,3,10,9,10,8,9)) cbin

Re: [R] barchart but with boxes

2010-06-07 Thread Deepayan Sarkar
On Sun, Jun 6, 2010 at 11:53 PM, Daisy Englert Duursma wrote: > Hello r-help. > > I have been working on making a graph and have several solutions but > they are tedious at best. > > Here is an example dataset: > > catg<-(c(1,2,3,2,4,3,2,1,4,3,1)) > min<-(c(1,2,3,3,4,5,6,6,3,2,1)) > max <-(c(10,6,

[R] barchart but with boxes

2010-06-06 Thread Daisy Englert Duursma
Hello r-help. I have been working on making a graph and have several solutions but they are tedious at best. Here is an example dataset: catg<-(c(1,2,3,2,4,3,2,1,4,3,1)) min<-(c(1,2,3,3,4,5,6,6,3,2,1)) max <-(c(10,6,8,6,7,3,10,9,10,8,9)) cbind(min,max,catg) What I want to create is a basically