Description Usage Arguments Details Value

Test whether elements in vector x are effectively zero, within the square root of machine tolerance for a floating point number.

1 | ```
almostZero(x, y = 0, tolerance = sqrt(.Machine$double.eps))
``` |

`x` |
Numeric vector of values to compared against 0 |

`y` |
Value to be compared against. Default is 0. |

`tolerance` |
The maximum difference between x and y necessary to call a value non-zero |

Returns TRUE for all vector elements that are within rounding error of zero.

TRUE or FALSE for each element of the vector x.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.