isclose: tests weather two values are close

View source: R/minitools.R

iscloseR Documentation

tests weather two values are close

Description

Asserts wether two vectors of the same length are close in value below a given threshold

Usage

isclose(x, y, e = 1e-10)

Arguments

x:

condition to be tested

y:

message to be printed

Value

TRUE when the distance of two numbers is smaller than a given value


predomics/predomicspkg documentation built on Dec. 11, 2024, 11:06 a.m.