Re: [R] Help with normal distribution in random samples...

2009-01-28 Thread Nordlund, Dan (DSHS/RDA)
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Sea Captain 1779 > Sent: Wednesday, January 28, 2009 12:04 PM > To: r-help@r-project.org > Subject: [R] Help with normal distribution in random sam

Re: [R] Help with normal distribution in random samples...

2009-01-28 Thread Mike Lawrence
?rnorm On Wed, Jan 28, 2009 at 4:04 PM, Sea Captain 1779 wrote: > > Hi!!! > > First time 'R' user looking for a little assistance. Here is what I have so > far: > > practice1 = matrix ((runif(5000, min =0, max = 12)), 100) > > which is creating 50 samples, for 100 cases, distributed between 0-12

[R] Help with normal distribution in random samples...

2009-01-28 Thread Sea Captain 1779
Hi!!! First time 'R' user looking for a little assistance. Here is what I have so far: practice1 = matrix ((runif(5000, min =0, max = 12)), 100) which is creating 50 samples, for 100 cases, distributed between 0-12. What I would like is to be able to set the mean and SD so that the data is no