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

Value

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

Details

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