sitmo_engine_seed {sitmo} | R Documentation |
Example Seed Set and RNG Draws with sitmo
Description
Shows how to set a seed in sitmo.
Usage
sitmo_engine_seed(n, seed)
Arguments
n |
An |
seed |
An |
Value
A vector
with random sequences.
Examples
n = 10
a = sitmo_engine_seed(n, 1337)
b = sitmo_engine_seed(n, 1337)
c = sitmo_engine_seed(n, 1338)
isTRUE(all.equal(a,b))
isTRUE(all.equal(a,c))
[Package sitmo version 2.0.2 Index]