R: Comparing RNG Settings

rng.equal {rngtools} | R Documentation

## Comparing RNG Settings

### Description

`rng.equal` compares the RNG settings associated with two objects.

`rng1.equal` tests whether two objects have identical initial RNG settings.

### Usage

      rng.equal(x, y)

      rng1.equal(x, y)

### Arguments

`x` | objects from which RNG settings are extracted
`y` | object from which RNG settings are extracted

### Details

These functions return `TRUE` if the RNG settings are identical, and `FALSE` otherwise. The comparison is made between the hashes returned by `RNGdigest`.

### Value

`rng.equal` and `rng.equal1` return a `TRUE` or `FALSE`.

[Package rngtools version 1.2.4 Index]