get_initial_rng_substream: Get the initial rng substream for an rstream object. Should...

Description Usage Arguments Value

View source: R/utils.R

Description

This function DOES NOT set RNG to use rstream with the returned object. Because of strange behavior in the rstream package, this function can be called only once in a given R session.

Usage

1
get_initial_rng_substream(seed = 9029979)

Arguments

seed

integer seed for rng; the default was randomly generated

Value

object of class "rstream.mrg32k3a". The object has been packed via rstream.packed.


reichlab/2017-2018-cdc-flu-contest documentation built on May 15, 2018, 9:32 p.m.