Learn R Programming

simsem (version 0.5-16)

multipleAllEqual: Test whether all objects are equal

Description

Test whether all objects are equal. The test is based on the all.equal function.

Usage

multipleAllEqual(...)

Arguments

The target objects

Value

TRUE if all objects are equal.

Examples

Run this code
# NOT RUN {
multipleAllEqual(1:5, 1:5, seq(2, 10, 2)/2) # Should be TRUE
multipleAllEqual(1:5, 1:6, seq(2, 10, 2)/2) # Should be FALSE
# }

Run the code above in your browser using DataLab