powered by
Wrap binom.test (test of Binomial/Bernoulli rate).
# S3 method for logical wrapBinomTest( x, ..., p = NA, alternative = c("two.sided", "less", "greater"), conf.level = 0.95, na.rm = FALSE )
wrapped stat
logical, vector of trials.
extra arguments passed to binom.test
number, hypothesized probability of success.
passed to binom.test
binom.test
logical, if TRUE remove NA values
wrapBinomTest, wrapBinomTest.htest, wrapBinomTestS, wrapBinomTest.logical, wrapBinomTest.numeric, wrapBinomTest.data.frame
wrapBinomTest
wrapBinomTest.htest
wrapBinomTestS
wrapBinomTest.logical
wrapBinomTest.numeric
wrapBinomTest.data.frame
x = c(rep(FALSE, 3), rep(TRUE, 7)) wrapBinomTest(x) x = c(rep(FALSE, 15), rep(TRUE, 35)) wrapBinomTest(x)
Run the code above in your browser using DataLab