Check if two numeric values are approximately equal

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