Re: [R] ggplot: dodge positions

2012-07-02 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
jrkrid...@inbox.com] > Sent: Montag, 2. Juli 2012 15:58 > To: Thaler,Thorn,LAUSANNE,Applied Mathematics > Subject: RE: [R] ggplot: dodge positions > > Let's hope it makes it. Just in case my version is okay let me give > you my sessionInfo in case we have some subtle difference in

Re: [R] ggplot: dodge positions

2012-07-02 Thread John Kane
n, 2 Jul 2012 15:40:48 +0200 > To: jrkrid...@inbox.com, r-help@r-project.org > Subject: RE: [R] ggplot: dodge positions > > Unfortunately I can't see your example as the page is blocked by our > firewall. Anyways, if I try the dodge code, the points are shifted, yet > they a

Re: [R] ggplot: dodge positions

2012-07-02 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
t: Montag, 2. Juli 2012 15:21 > To: Thaler,Thorn,LAUSANNE,Applied Mathematics; r-help@r-project.org > Subject: RE: [R] ggplot: dodge positions > > I don't think I was clear. Sorry. What I was refering to was the > > ggplot(ddf, aes(x, y, colour=grp)) + geom_boxplot() + > ge

Re: [R] ggplot: dodge positions

2012-07-02 Thread John Kane
@rdls.nestle.com > Sent: Mon, 2 Jul 2012 15:10:33 +0200 > To: jrkrid...@inbox.com, r-help@r-project.org > Subject: RE: [R] ggplot: dodge positions > > I guess it works with ggplot but not with ggplot2. I'm using only the > latter but had a typo in my first post. So the co

Re: [R] ggplot: dodge positions

2012-07-02 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
gt; > > > John Kane > Kingston ON Canada > > > > -Original Message- > > From: thorn.tha...@rdls.nestle.com > > Sent: Mon, 2 Jul 2012 11:43:03 +0200 > > To: r-help@r-project.org > > Subject: [R] ggplot: dodge positions > > > > Dear all, >

Re: [R] ggplot: dodge positions

2012-07-02 Thread John Kane
: thorn.tha...@rdls.nestle.com > Sent: Mon, 2 Jul 2012 11:43:03 +0200 > To: r-help@r-project.org > Subject: [R] ggplot: dodge positions > > Dear all, > > I want to get a series of boxplots (grouped by two factors) and I want to > overlay the original observations and the follo

Re: [R] ggplot: dodge positions

2012-07-02 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
rradas [mailto:ruipbarra...@sapo.pt] > Sent: Montag, 2. Juli 2012 12:20 > To: Thaler,Thorn,LAUSANNE,Applied Mathematics > Cc: r-help@r-project.org > Subject: Re: [R] ggplot: dodge positions > > Hello, > > Though I'm not the most fluent user of ggplot, I've seen no prob

Re: [R] ggplot: dodge positions

2012-07-02 Thread Rui Barradas
Hello, Though I'm not the most fluent user of ggplot, I've seen no problem with the graph, each subgroup of points is over each boxplot. Maybe what made the difference was the use of ---> ggplot2 not ggplot. Hope this helps, Rui Barradas Em 02-07-2012 10:43, Thaler,Thorn,LAUSANNE,Applied M

[R] ggplot: dodge positions

2012-07-02 Thread Thaler,Thorn,LAUSANNE,Applied Mathematics
Dear all, I want to get a series of boxplots (grouped by two factors) and I want to overlay the original observations and the following code does almost what I want: library(ggplot) ddf <- data.frame(x=factor(rep(LETTERS[1:4], each=30)), y = runif(120,0,10), grp = factor(rep(rep(1:3, 10), 4)))