set.daeRNGkind | R Documentation |
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")
kind |
A |
The value of daeRNGkind
is returned invisibly.
Chris Brien
get.daeRNGkind
.
## set daeRNGkind to L'Ecuyer-CMRG.
set.daeRNGkind("L'Ecuyer-CMRG")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.