Check if range of limits is close to zero
S4ZeroRange(x, tol = 1000 * .Machine$double.eps) # S4 method for numeric S4ZeroRange(x, tol = 1000 * .Machine$double.eps) # S4 method for Ranges S4ZeroRange(x, tol = 1000 * .Machine$double.eps)
| x | An object representing a range |
|---|---|
| tol | A value specifying the tolerance. |
A logical of length 1: TRUE if the relative differences
of the range are not distinguishable from 0.
Defaults to the zero_range function.
#> [1] TRUE#> [1] FALSE#> [1] NA