[R] R: simulation

Christian Hennig fm3a004 at math.uni-hamburg.de
Fri Mar 4 13:53:22 CET 2005


?set.seed

On Fri, 4 Mar 2005, Clark Allan wrote:

> hi all
> 
> a simple question
> 
> i want to run simulations in r. i however want the experiments to be
> repeated at a later time with exactly the same numbers by other users.
> can i set the random number seed for rnorm in some way?
> 
> e.g. is there some arguement that goes with rnorm?
> 
> please supply an example
> 
> regards
> Allan

***********************************************************************
Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
hennig at math.uni-hamburg.de, http://www.math.uni-hamburg.de/home/hennig/
>From 1 April 2005: Department of Statistical Science, UCL, London
#######################################################################
ich empfehle www.boag-online.de




More information about the R-help mailing list