Created
October 22, 2017 21:48
-
-
Save vladiim/7365d1476ef892f0980bc10d95f13bea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| estimate <- function(targetRate,difference,errorProb) { | |
| ceiling(-log(errorProb) * targetRate / (difference^2)) | |
| } | |
| estimate(0.045, 0.004, 0.05) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment