Create a gist now

Instantly share code, notes, and snippets.

> 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
0.1666667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment