My understanding is that rnorm(n, x, s) will give me an n-sized sample from an (x, s) normal distribution. So the vector returned will have a mean from the sampling distribution of the mean. But what I want is a set of n numbers literally with a mean of x and sd of s.
I am at the very beginning of my R journey, so my apologies if this is a particularly naive enquiry. 2009/3/4 David Winsemius <dwinsem...@comcast.net>: > In what ways is rnorm not a satisfactory answer? > > -- > David Winsemius > > On Mar 3, 2009, at 9:33 PM, CB wrote: > >> This seems like it should be obvious, but searches I've tried all come >> up with rnorm etc. >> >> Is there a way of generating normally-distributed 'population' data >> with known parameters? >> >> Cheers, CB. >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.