Hi
r-help-bounces at r-project.org napsal dne 17.07.2008 16:14:33:
> Hi,
> I need to draw a barplot with the value numbers on the bars. In
> particular I would draw a barplot(beside=T) with on the bars the value
> numbers and in the middle of the bars a parcentage.
>
> ------------------------------
> |
> 12.34% | 150
> |
> ------------------------------
> -----------------
> |
> 7.01% | 78
> |
> -----------------
See
?barplot
especially Value section
> bbb<-barplot(1:10)
> bbb
> text(bbb, 1:10, letters[1:10])
> text(bbb, (1:10)/2, LETTERS[1:10])
Regards
Petr
>
> Marco
>
> ______________________________________________
> 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.