Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "near" operator #1607

Closed
hadley opened this issue Dec 31, 2015 · 0 comments
Closed

Add "near" operator #1607

hadley opened this issue Dec 31, 2015 · 0 comments
Labels
Milestone

Comments

@hadley
Copy link
Member

@hadley hadley commented Dec 31, 2015

near <- function(x, y, tol = .Machine$double.eps ^ 0.5) {
  abs(x - y) < tol
}
@hadley hadley added the feature label Mar 1, 2016
@hadley hadley added this to the 0.5 milestone Mar 1, 2016
@hadley hadley closed this in 0ebdf60 Mar 7, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant