[R] How to choose 3 random numbers from 1 up to 9?
Ettinger, Nicholas
nicholas-ettinger at uiowa.edu
Fri Nov 30 20:48:24 CET 2007
Hello all,
For the not-so-deeply-mathematically/statistically-literate, what is the
simplest command with which to choose three "random" numbers from the
integer list 1 up to 9?
After reading the ".Random.seed" help page along with several others, it
seems like the one simple choice might be:
round(rnorm(1:3,4.5,1))
??
Any thoughts? Suggestions or better ideas most welcome!
Thank you.
--Nick Ettinger
More information about the R-help
mailing list