set_seed: Random seed generator

View source: R/utils.R

set_seedR Documentation

Random seed generator

Description

This function initializes a random number generator that sets the random seed in both R and Python to ensure reproducible results from the package.

Usage

set_seed(seed)

Arguments

seed

a single integer value.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.

Value

No return value.

Examples

## Not run: 

# See dgp() for an example.

## End(Not run)

dgpsi documentation built on April 3, 2025, 9:26 p.m.