all_different: Difference Testing

View source: R/all_different.R

all_differentR 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)

exams.forge documentation built on Sept. 11, 2024, 5:32 p.m.