Learn R Programming

ctsem (version 3.10.2)

test_isclose: Tests if 2 values are close to each other

Description

Tests if 2 values are close to each other

Usage

test_isclose(..., tol = 1e-08)

Value

Logical or testthat output.

Arguments

...

values to compare

tol

tolerance

Examples

Run this code
test_isclose(1,1.0000001, tol=1e-4)

Run the code above in your browser using DataLab