Skip to content

Instantly share code, notes, and snippets.

@coleoguy
Created April 30, 2016 19:20
Show Gist options
  • Save coleoguy/ef40f18ffc6d5411c83d2ceccc822cd2 to your computer and use it in GitHub Desktop.
Save coleoguy/ef40f18ffc6d5411c83d2ceccc822cd2 to your computer and use it in GitHub Desktop.
x <- rnorm(n=100000, mean=1)
mean(x)
x <- sapply(x, StochRound)
mean(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment