Error Bars in R

Use the package “gplots

Reference manual “gplots.pdf” gives instructions

for using plotCI - also available from help(plotCI)

after the package has been loaded.
CI = confidence interval

For a good set of example code with plots drawn – the plots are at the end – formerly at http://rgm3.lab.nig.ac.jp/RGM/R_rdfile?f=plotrix/man/plotCI.Rd&d=R_CC


[RGM] R Graphical Manual’, 03-Mar-2014. [Online]. Available: http://rgm3.lab.nig.ac.jp/RGM/R_rdfile?f=plotrix/man/plotCI.Rd&d=R_CC. [Accessed: 03-Aug-2015]

Transcript

Now, in R itself, it's very easy to plot error bars using the package gplots. If we go look at the reference manual for it, it gives instructions for a function called plotCI, not surprisingly plot a confidence interval.  And there's a nice example of the kinds of plots that you can make and the code to draw them at this URL, and I encourage you to take a look at them.