Re: [R] R: simulation

From: Christian Hennig <fm3a004_at_math.uni-hamburg.de>
Date: Fri 04 Mar 2005 - 23:53:22 EST


?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

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Mar 05 02:56:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:40 EST