binom.test(x=3, # #successes
n=19, # total number of operations
p= 0.5, # hypothesized probability
alternative="l" # lower tailed test
)
Exact binomial test
data: 3 and 19
number of successes = 3, number of trials = 19, p-value = 0.002213
alternative hypothesis: true probability of success is less than 0.5
95 percent confidence interval:
0.0000000 0.3594256
sample estimates:
probability of success
0.1578947