rxGetSeed {rxode2} | R Documentation |
Get the rxode2 seed
Description
Get the rxode2 seed
Usage
rxGetSeed()
Value
rxode2 seed state or -1 when the seed isn't set
See Also
rxSetSeed, rxWithSeed, rxWithPreserveSeed
Examples
# without setting seed
rxGetSeed()
# Now set the seed
rxSetSeed(42)
rxGetSeed()
rxnorm()
rxGetSeed()
# don't use the rxode2 seed again
rxSetSeed(-1)
rxGetSeed()
rxnorm()
rxGetSeed()
[Package rxode2 version 4.0.0 Index]