seed_rng: Seed the RNG state possibly with a user supplied seed

seed_rngR Documentation

Seed the RNG state possibly with a user supplied seed

Description

Seed the RNG state possibly with a user supplied seed

Usage

seed_rng(seed = NULL)

Arguments

seed

numeric seed for RNG. See base::set.seed().

Value

A list containing seed, the supplied seed, initial_state, the initial state of the RNG before the seed was set, and kind, the type of RNG used, as returned by base::RNGkind().


regime-shifts/abrupt documentation built on Aug. 26, 2022, 3:15 p.m.