[R] Percent (%) format in barplot

From: Neuro LeSuperHéros <neuro3000_at_hotmail.com>
Date: Sat 07 May 2005 - 01:16:32 EST

Percent format in barplot


In a barplot, I need:

1-The xaxis labels to be in percent format with one decimal. Example: 1.5%

barplot(height, horiz = TRUE, names=as.character(data$name))

2- The data labels to be in the same format (percent format with one decimal)


How do I do that?


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat May 07 01:33:00 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:37 EST