Description Usage Arguments Details Value See Also

Sets the initial seed of the package or stream.

1 2 | ```
.lec.SetPackageSeed(seed)
.lec.SetSeed (name, seed)
``` |

`name` |
a character string giving the name of the stream. |

`seed` |
a vector of six integers. If it is shorter, the seed is extended to the length of 6 by default values 12345. If it is longer, it is truncated to the length of 6 by eliminating the last elements. |

Each state of a stream is given by three
integer vectors of length 6: Ig gives the initital state of the
stream, Bg gives the starting state of the substream that contains the
current state, Cg gives the current state. Function
`.lec.SetPackageSeed`

sets Cg, Bg and Ig to the value of
`seed`

. Function `.lec.SetSeed`

sets Ig to `seed`

. L'Ecuyer recommends to use the `ResetStream`

functions instead of `SetSeed`

.

The (possibly modified) seed that has been used.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.