Seed the RNG state possibly with a user supplied seed

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().