Re: [R] Histogram

2011-06-08 Thread nandini_bn
you want is barplot x = rbinom(10,15,0.65) y = rbinom(10,15,0.25) barplot(rbind(x,y),beside=TRUE) Sam On Wed, Jun 8, 2011 at 10:14 AM, nandini_bn <[hidden email]> wrote: > > Hello , > I am trying to create a histogram in order to compare between two groups and > w

[R] Histogram

2011-06-08 Thread nandini_bn
Hello , I am trying to create a histogram in order to compare between two groups and would like it to be similar to the figure attached. How can I generate this using R ? Thank you, Nandini http://r.789695.n4.nabble.com/file/n3582448/5634-15977-1-PB.gif -- View this message in context: http:/