Learn R Programming

rxode2 (version 2.0.7)

rxGetSeed: Get the rxode2 seed

Description

Get the rxode2 seed

Usage

rxGetSeed()

Arguments

Value

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

See Also

rxSetSeed, rxWithSeed, rxWithPreserveSeed

Examples

Run this code
# NOT RUN {
# 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()

# }

Run the code above in your browser using DataLab