close_enough | R Documentation |
This is like dplyr::near()
except with much less precision.
close_enough(x, y, tol = 10^-3)
x |
a numeric vector |
y |
another numeric vector |
tol |
tolerance (default: |
TRUE
if all numbers are near enough within the tolerance, otherwise FALSE
Kelly Sovacool sovacool@umich.edu
close_enough(0.0004, 0)
close_enough(0.8887, 0.8884)
close_enough(1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.