Skip to content
Prev 170635 / 398506 Next

Alternate to for-loop

megh wrote:
For some value of "obvious" as you has not given a single line of code 
as the posting guide suggests.

You probably want:

replicate(10, mean(rnorm(100)))

Uwe Ligges