[R] Generating random normal distribution with mean 0 and standard deviation 1
neuro3000 at hotmail.com
Fri Jul 14 14:14:58 CEST 2006
This must be really simple, but I can't find it on R Site search. I need to
generate a random normally distributed series with mean 0 and sd 1. In
Matlab, this code is randn(n).
The closest I found is runif(20,-1,1) but this forces a maximum and a
minimum, and there's no way to specify a standard deviation of 1.
More information about the R-help