wrapBinomTestS {sigr} | R Documentation |
Wrap binom.test (test of Binomial/Bernoulli rate) from summary.
Description
Wrap binom.test (test of Binomial/Bernoulli rate) from summary.
Usage
wrapBinomTestS(
x,
n,
...,
p = NA,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
Arguments
x |
numeric scalar, number of successes. |
n |
numeric scalar, number of trials. |
... |
extra arguments passed to binom.test |
p |
number, hypothesized probability of success. |
alternative |
passed to |
conf.level |
passed to |
Value
wrapped stat
See Also
wrapBinomTest
, wrapBinomTest.htest
, wrapBinomTestS
, wrapBinomTest.logical
, wrapBinomTest.numeric
, wrapBinomTest.data.frame
Examples
wrapBinomTestS(3, 7, p = 0.5)
wrapBinomTestS(300, 700, p = 0.5)
[Package sigr version 1.1.5 Index]