Re: [R] Significance asterisk in a bar plot

2009-06-18 Thread Frank E Harrell Jr
Gilad wrote: Hi all, How do I add an asterisk representing a significant difference to a barplot? Cheers, Gil Bar plots are dreadful ways to present information (see http://biostat.mc.vanderbilt.edu/DynamitePlots). Don't make them worse by adding arbitrary declarations of 'significance.

Re: [R] Significance asterisk in a bar plot

2009-06-18 Thread Henrique Dallazuanna
If I understand correctly, you can try something about like this: x <- c(1, 4, 5, 10) bp <- barplot(x, ylim = c(0, max(x) + 2)) text(bp, x, labels = symnum(x, cutpoints = c(1, 5, 10), symbols = c("*", "**")), pos = 3) On Thu, Jun 18, 2009 at 12:40 PM, Gilad wrote: > Hi all, > > How

[R] Significance asterisk in a bar plot

2009-06-18 Thread Gilad
Hi all, How do I add an asterisk representing a significant difference to a barplot? Cheers, Gil [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin