fequal | R Documentation |
This function checks whether all non-missing elements in a numeric vector are equal within a specified tolerance. Differences between elements that are less than or equal to the tolerance are considered negligible.
fequal(x, tol)
x |
A numeric vector to test for equality. |
tol |
A tolerance value. Differences below or equal to this value are considered equal. |
A logical value: TRUE if all non-missing elements are equal within the tolerance, and FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.