approx_equal: Check if two numeric values are approximately equal

View source: R/utils_internal.R

approx_equalR Documentation

Check if two numeric values are approximately equal

Description

Check if two numeric values are approximately equal

Usage

approx_equal(a, b, tol = sqrt(.Machine$double.eps))

Arguments

a

a numeric object

b

a numeric object

tol

the numeric tolerance

Value

a logical value


MicroMoB documentation built on Jan. 17, 2023, 9:06 a.m.