Description Usage Arguments Details Value Examples
Check if range of limits is close to zero
1 2 3 4 5 6 7 | S4ZeroRange(x, tol = 1000 * .Machine$double.eps)
## S4 method for signature 'numeric'
S4ZeroRange(x, tol = 1000 * .Machine$double.eps)
## S4 method for signature 'Ranges'
S4ZeroRange(x, tol = 1000 * .Machine$double.eps)
|
x |
An object representing a range |
tol |
A value specifying the tolerance. |
Defaults to the zero_range
function.
A logical
of length 1: TRUE
if the relative differences
of the range are not distinguishable from 0.
1 2 3 | S4ZeroRange(c(10, 10)) # TRUE
S4ZeroRange(c(10, 11)) # FALSE
S4ZeroRange(c(NA, 10)) # NA
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.