get_seed: Get the Random Seed

View source: R/get_seed.R

get_seedR Documentation

Get the Random Seed

Description

Retrieves the current random seed (.Random.seed in the global environment), and initializes the RNG first, if necessary.

Usage

get_seed()

Value

integer(). Depends on the base::RNGkind().

Examples

str(get_seed())

mlr3misc documentation built on Sept. 20, 2023, 5:06 p.m.