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


DrylandEcology/rSFSW2 documentation built on Aug. 18, 2020, 1:27 p.m.