Skip to content

Instantly share code, notes, and snippets.

@dbaston
Created July 31, 2019 18:27
Show Gist options
  • Save dbaston/0a887bbb3764425fc9b93e1061d0557b to your computer and use it in GitHub Desktop.
Save dbaston/0a887bbb3764425fc9b93e1061d0557b to your computer and use it in GitHub Desktop.
R insanity
> TRUE + TRUE
[1] 2
> !FALSE + !FALSE
[1] FALSE
> !FALSE == TRUE
[1] TRUE
> (!FALSE) + !FALSE
[1] 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment