[R] Generating random normal distribution with mean 0 and standard deviation 1

2006-07-14 Thread Neuro LeSuperHéros
Hello, 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

Re: [R] Generating random normal distribution with mean 0 and standard deviation 1

2006-07-14 Thread Sean O'Riordain
?rnorm On 14/07/06, Neuro LeSuperHéros [EMAIL PROTECTED] wrote: Hello, 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)

Re: [R] Generating random normal distribution with mean 0 and standard deviation 1

2006-07-14 Thread Marc Schwartz
On Fri, 2006-07-14 at 08:14 -0400, Neuro LeSuperHéros wrote: Hello, 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)