set_RNG_stream: Set the seed of a random number generator (stream)

Description Usage Arguments See Also

View source: R/RandomNumberGenerator.R

Description

This function is to be called by a (parallel) worker using as argument a pre-prepared seed from the function generate_RNG_streams. Note: it will also set RNGkind accordingly to the first element of seed.

Usage

1

Arguments

seed

A vector appropriate for .Random.seed of the current varRNG; a single integer or NULL that will be passed to set.seed; or NA which will not affect the random number generator.

See Also

set.seed, RNGkind


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.