Skip to content
Prev 279218 / 398506 Next

Iteration in R

? replicate

or a for loop

or do all one hundred simulations at once

x <- matrix(rnorm(100^2, 1, 2), 100)

It's going to depend on what you want to do with the numbers.

Michael
On Sat, Dec 3, 2011 at 1:10 PM, Martin Zonyrah <martin2005z at yahoo.com> wrote: