Learn R Programming

dgpsi (version 2.5.0)

set_seed: 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)

Value

No return value.

Arguments

seed

a single integer value.

Details

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

Examples

Run this code
if (FALSE) {

# See dgp() for an example.
}

Run the code above in your browser using DataLab