2009/3/4 Thomas Lumley <[email protected]>: > On Wed, 4 Mar 2009, David Winsemius wrote: > >> In what ways is rnorm not a satisfactory answer? > > My guess was that CB wants to generate a finite population whose mean and > variance are specified, which would involve rnorm() followed by centering > and scaling. >
Exactly. Being an R novice, I was thinking more of built-in functions; but I see now it's straightforward enough to do. ______________________________________________ [email protected] 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.

