Instantly share code, notes, and snippets.

What would you like to do?
> binom.test(2, 12)
Exact binomial test
data: 2 and 12
number of successes = 2, number of trials = 12, p-value = 0.03857
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
0.02086253 0.48413775
sample estimates:
probability of success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment