Skip to content

introducing jitter in overlapping graphs using ggplots (plotmeans). Also sciplot.

3 messages · Anna Zakrisson, John Kane, Jim Lemon

#
Hi Anna,
A small point -- there is no package called ggplots.  There is a package called gplots and one called ggplot2, which in earlier form was called ggplot.

To see what is happening I believe we need some sample data from  the three data  files or some mock-up data that matches your actual data in form.

 The easiest way to supply data  is to use the dput() function.  Example with your file named "testfile": 
dput(testfile) 
Then copy the output and paste into your email.  For large data sets, you can just supply a representative sample.  Usually, 
dput(head(testfile, 100)) will be sufficient.   

In this case it looks like we would want three dput results, one for each year.

John Kane
Kingston ON Canada
____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!
#
On 02/19/2013 10:38 PM, Anna Zakrisson wrote:
Hi Anna,
 From your description, the brkdn.plot (plotrix) function might do what 
you want. In common with other functions in plotrix, brkdn.plot uses 
offsets rather than jittering to prevent overplotting.

Jim