rxGetSeed function

Get the rxode2 seed

Get the rxode2 seed

rxGetSeed()

Returns

rxode2 seed state or -1 when the seed isn't set

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()

See Also

rxSetSeed, rxWithSeed, rxWithPreserveSeed