Re: [R] counts on bars on barplot

2012-05-15 Thread arkanion
got it, did it, worked ! thanks a lot ! -- View this message in context: http://r.789695.n4.nabble.com/counts-on-bars-on-barplot-tp4630060p4630114.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https:

Re: [R] counts on bars on barplot

2012-05-15 Thread arkanion
I want to label each bar with the values of each bar (counts) on top of each of them. -- View this message in context: http://r.789695.n4.nabble.com/counts-on-bars-on-barplot-tp4630060p4630107.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] counts on bars on barplot

2012-05-15 Thread pannigh
If you use simple barplot graphic try this, e.g.: a<-barplot(some.data) text(a, some.data, some.data) The "text" command needs x and y coordinates, by assigning your barplot to "a" (here), you have the x coordinats and by using the y-values of the barplot, the values will be written ontop of the

Re: [R] counts on bars on barplot

2012-05-15 Thread John Kane
:34 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] counts on bars on barplot > > How can I have the corresponding counts shown on each bar? > > -- > View this message in context: > http://r.789695.n4.nabble.com/counts-on-bars-on-barplot-tp4630060.html > Sent fro

[R] counts on bars on barplot

2012-05-15 Thread arkanion
How can I have the corresponding counts shown on each bar? -- View this message in context: http://r.789695.n4.nabble.com/counts-on-bars-on-barplot-tp4630060.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing