A function setVectorSeed() is provided. Its argument is a numeric vector of an arbitrary nonzero length, whose components have integer values from [0, 2^321]. The input vector is transformed using AES (Advanced Encryption Standard) algorithm into an initial state of MersenneTwister random number generator. The function provides a better alternative to the R base function set.seed(), if the input vector is a single integer. Initializing a stream of random numbers with a vector is a convenient way to obtain several streams, each of which is identified by several integer indices.
Package details 


Author  Petr Savicky 
Date of publication  20141203 10:28:01 
Maintainer  Petr Savicky <savicky@cs.cas.cz> 
License  GPL3 
Version  0.32 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.