Skip to content

Instantly share code, notes, and snippets.

@stufield
Created August 21, 2019 19:38

Revisions

  1. stufield created this gist Aug 21, 2019.
    6 changes: 6 additions & 0 deletions sinister.R
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    `-` <- function(x, y) {
    if (runif(1) < 0.01)
    base::`-`(x, y) + 1
    else
    base::`-`(x, y)
    }