[R] simple random number generation

dxc13 dxc13 at health.state.ny.us
Fri Jul 25 01:35:33 CEST 2008


useR's,

I want to randomly generate 500 numbers from the standard normal
distribution, i.e. N(0,1), but I only want them to be generated in the range
-1.5 to 1.5.  Does anyone have a simple way to do this?

Thanks,

dxc13
-- 
View this message in context: http://www.nabble.com/simple-random-number-generation-tp18642611p18642611.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list