[R] Side by side strip charts

2012-07-13 Thread darnold
Hi, I'm looking for some ideas on how to reproduce the attached image in R. There are three samples, each of size n = 10. The first is drawn from a normal distribution with mean 60 and standard deviation 3. The second is drawn from a normal distribution with mean 65 and standard deviation 3. The

Re: [R] Side by side strip charts

2012-07-13 Thread Gerrit Eichner
Hi, Arnold, looking at the example section of ?stripchart may help you. Hth -- Gerrit On Thu, 12 Jul 2012, darnold wrote: Hi, I'm looking for some ideas on how to reproduce the attached image in R. There are three samples, each of size n = 10. The first is drawn from a normal

Re: [R] Side by side strip charts

2012-07-13 Thread peter dalgaard
On Jul 13, 2012, at 08:18 , darnold wrote: Hi, I'm looking for some ideas on how to reproduce the attached image in R. There are three samples, each of size n = 10. The first is drawn from a normal distribution with mean 60 and standard deviation 3. The second is drawn from a normal

Re: [R] Side by side strip charts

2012-07-13 Thread darnold
OK, got this far: x1 - round(rnorm(10,60,3)) x2 - round(rnorm(10,65,3)) x3 - round(rnorm(10,70,3)) stripchart(list(sample1=x1,sample2=x2,sample3=x3), method=stack, pch=4, offset=1/2, col=blue, lwd=2, las=1) Any ideas on how to get

Re: [R] Side by side strip charts

2012-07-13 Thread John Kane
try something like abline(h=1.9) John Kane Kingston ON Canada -Original Message- From: dwarnol...@suddenlink.net Sent: Fri, 13 Jul 2012 09:54:35 -0700 (PDT) To: r-help@r-project.org Subject: Re: [R] Side by side strip charts OK, got this far: x1 - round(rnorm(10,60,3)) x2

Re: [R] Side by side strip charts

2012-07-13 Thread peter dalgaard
On Jul 13, 2012, at 18:54 , darnold wrote: OK, got this far: x1 - round(rnorm(10,60,3)) x2 - round(rnorm(10,65,3)) x3 - round(rnorm(10,70,3)) stripchart(list(sample1=x1,sample2=x2,sample3=x3), method=stack, pch=4, offset=1/2, col=blue,

Re: [R] Side by side strip charts

2012-07-13 Thread Rui Barradas
- From: dwarnol...@suddenlink.net Sent: Fri, 13 Jul 2012 09:54:35 -0700 (PDT) To: r-help@r-project.org Subject: Re: [R] Side by side strip charts OK, got this far: x1 - round(rnorm(10,60,3)) x2 - round(rnorm(10,65,3)) x3 - round(rnorm(10,70,3)) stripchart(list(sample1=x1,sample2=x2,sample3=x3

Re: [R] Side by side strip charts

2012-07-13 Thread Peter Ehlers
13-07-2012 19:24, John Kane escreveu: try something like abline(h=1.9) John Kane Kingston ON Canada -Original Message- From: dwarnol...@suddenlink.net Sent: Fri, 13 Jul 2012 09:54:35 -0700 (PDT) To: r-help@r-project.org Subject: Re: [R] Side by side strip charts OK, got this far: x1

Re: [R] Side by side strip charts

2012-07-13 Thread darnold
Very nice suggestion. I am getting some very kind help here. x1 - round(rnorm(10,60,3)) x2 - round(rnorm(10,65,3)) x3 - round(rnorm(10,70,3)) stripchart(list(sample1=x1,sample2=x2,sample3=x3), method=stack, pch=4, offset=1/2, col=blue, lwd=2,