Description Usage Arguments Value See Also Examples
The function almost.zero
tests if values of
the numeric vector x
are equal to zero up
to a tolerance.
1 | almost.zero(x, tolerance = sqrt(.Machine$double.eps))
|
x |
numeric. The vector of numeric values at stake. |
tolerance |
numeric. Differences smaller than tolerance are considered as equal.
The default value is close to |
A logical vector of the same length as x
.
1 | almost.zero(c(0, 10^(-7), 10^(-8)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.