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 <gilad...@post.tau.ac.il> wrote: > 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 posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O [[alternative HTML version deleted]]
______________________________________________ R-help@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.