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

mlr-org/mlr3misc documentation built on April 28, 2024, 11 p.m.