Skip to content

Instantly share code, notes, and snippets.

@johnmackintosh
Created January 22, 2020 15:28
Show Gist options
  • Select an option

  • Save johnmackintosh/0402e2c95ad2bd2a656b63cef1eed020 to your computer and use it in GitHub Desktop.

Select an option

Save johnmackintosh/0402e2c95ad2bd2a656b63cef1eed020 to your computer and use it in GitHub Desktop.
simple 'not in' function
# 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