approx_equal: Check if two numeric values are approximately equal

View source: R/utils.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


exDE documentation built on Nov. 18, 2022, 5:08 p.m.