all_different {exams.forge}R Documentation

Difference Testing

Description

Tests if the differences between the entries in obj are larger than tol.

Usage

all_different(obj, tol)

Arguments

obj

object: numeric R object that can be converted to a vector

tol

numeric: minimum value

Value

logical

Examples

x <- runif(10)
all_different(x, 0.0001)
all_different(x, 1)

[Package exams.forge version 1.0.10 Index]