Test whether all values are equal.

allEqual(x, tol = .Machine$double.eps^0.5, ...)

Arguments

x

An R object coercable to numeric.

tol

The tolerance of the equality

...

Arguments passed on to range and mean, particularly na.rm.