Learn R Programming

rngtools (version 1.5.2)

rng.equal: Comparing RNG Settings

Description

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

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.