A function that sets the character
value daeRNGkind
that
specifies the kind
of Random Number generator to use in dae
.
The value is stored in a character
named daeRNGkind
in the
daeEnv
environment. It is initially set to "Mersenne-Twister" and
can be changed using get.daeRNGkind
. For details of the
different Random Number Generators available in R
, see the R
help for RNGkind
.
set.daeRNGkind(kind = "Mersenne-Twister")
The value of daeRNGkind
is returned invisibly.
A character
to which daeRNGkind
is to be set.
Chris Brien
get.daeRNGkind
.
## set daeRNGkind to L'Ecuyer-CMRG.
set.daeRNGkind("L'Ecuyer-CMRG")
Run the code above in your browser using DataLab