powered by
Tests if the differences between the entries in obj are larger than tol.
obj
tol
all_different(obj, tol)
logical
object: numeric R object that can be converted to a vector
numeric: minimum value
x <- runif(10) all_different(x, 0.0001) all_different(x, 1)
Run the code above in your browser using DataLab