[R] error bars on line plot with error bars using ggplot

David Winsemius dwinsemius at comcast.net
Wed Oct 3 17:30:30 CEST 2012

On Oct 3, 2012, at 6:41 AM, James Maas (MED) wrote:

> I'm new to this and struggling away with ggplot.  I need to plot some line graphs for about 4 series.  I have the values to plot and also the value of the standard error  of the value.  Is it possible to plot the standard error bars when the value are already calculated as opposed to letting R do the analysis to calculate the SE bars?

The usual way to do that in base graphics is with the arrows function using an angle of 90.

> Any simple example would be most appreciated.

Hey, that's _our_ line. Solutions extended when reproducible example provided. See the standard footer.


David Winsemius, MD
Alameda, CA, USA

More information about the R-help mailing list