Skip to content

Instantly share code, notes, and snippets.

@Shikugawa
Created July 3, 2017 00:55
Show Gist options
  • Save Shikugawa/c8240c420e6246959c14521676c143d2 to your computer and use it in GitHub Desktop.
Save Shikugawa/c8240c420e6246959c14521676c143d2 to your computer and use it in GitHub Desktop.
Z <- sqrt(input$dispersion)*sqrt(-2*log(runif(sample)))*cos(2*pi*runif(sample))+input$mean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment