Sébastien Vigneau
2011-Aug-19 20:27 UTC
[R] How to add horizontal lines above bar graph to display p-values?
Hi, I would like to draw horizontal lines above a bar graph, in order to display the p-values of a Fisher test. Here is an example<http://thejns.org/action/showPopup?citid=citart1&id=f3-1060501&doi=10.3171%2Fped.2007.106.6.501>of the type of display I would like to have. Is there a way to draw the horizontal lines and write their associated p-values in R? Thanks for you help! Sebastien Vigneau [[alternative HTML version deleted]]
Uwe Ligges
2011-Aug-20 13:41 UTC
[R] How to add horizontal lines above bar graph to display p-values?
On 19.08.2011 22:27, S?bastien Vigneau wrote:> Hi, > > I would like to draw horizontal lines above a bar graph, in order to display > the p-values of a Fisher test. Here is an > example<http://thejns.org/action/showPopup?citid=citart1&id=f3-1060501&doi=10.3171%2Fped.2007.106.6.501>of > the type of display I would like to have. Is there a way to draw the > horizontal linesSee ?abline, ?lines, ?segments, ....> and write their associated p-values in R?See ?text Uwe Ligges> > Thanks for you help! > > Sebastien Vigneau > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.