Learn R Programming

setRNG (version 2024.2-1)

Set (Normal) Random Number Generator and Seed

Description

Provides utilities to help set and record the setting of the seed and the uniform and normal generators used when a random experiment is run. The utilities can be used in other functions that do random experiments to simplify recording and/or setting all the necessary information for reproducibility. See the vignette and reference manual for examples.

Copy Link

Version

Install

install.packages('setRNG')

Monthly Downloads

2,165

Version

2024.2-1

License

GPL-2 | file LICENSE

Maintainer

Last Published

February 18th, 2024

Functions in setRNG (2024.2-1)

setRNG-package

setRNG
00.setRNG.Intro

setRNG
setRNG

Set the Random Number Generator
random.number.test

Test the random number generator
getRNG

get the RNG and seed from an object