Re: [R] ggplot2-Issue placing error bars behind data points

2011-09-08 Thread Nathan Miller
Jeff Newmiller and Dennis, As always, very helpful. I appreciate the comments on how best to organize the code as well. Simplifies things greatly. Thanks, Nate On Wed, Sep 7, 2011 at 3:33 PM, Dennis Murphy wrote: > Hi: > > For your test data, try this: > > # Result of dput(NerveSurv) > NerveSu

Re: [R] ggplot2-Issue placing error bars behind data points

2011-09-07 Thread Dennis Murphy
Hi: For your test data, try this: # Result of dput(NerveSurv) NerveSurv <- structure(list(Time = c(0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 0, 0.25, 0.5, 0.75, 1, 1.25, 1.5 ), SAP = c(1, 1.04, 1.04, 1.06, 1.04, 1.22, 1.01, 1, 1.01, 1.01, 1.06, 1.01, 0.977, 0.959, 1, 1.0

Re: [R] ggplot2-Issue placing error bars behind data points

2011-09-07 Thread Jeff Newmiller
Add geom_errorbar() before adding geom_point() ? --- Jeff Newmiller The . . Go Live... DCN: Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Em

[R] ggplot2-Issue placing error bars behind data points

2011-09-07 Thread Nathan Miller
Hi all, This seems like a basic problem, but no amount of playing with the code has solved it. I have a time-series data set like that shown below (only longer) and am seeking to plot the data with filled, circular points and error bars. I would like the error bars to be behind the points otherwis