Created
January 22, 2020 15:28
-
-
Save johnmackintosh/0402e2c95ad2bd2a656b63cef1eed020 to your computer and use it in GitHub Desktop.
simple 'not in' function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # there are a few ways of doing this.. here's one | |
| `%notin%` = function(x, y) !(x %in% y) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment