powered by
Wrap binom.test (test of Binomial/Bernoulli rate).
# S3 method for numeric wrapBinomTest( x, SuccessValue = TRUE, ..., p = NA, alternative = c("two.sided", "less", "greater"), conf.level = 0.95, na.rm = FALSE )
wrapped stat
numeric, vector of trials.
value considered a success (positive)
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(0, 3), rep(1, 7)) wrapBinomTest(x, 1) x = c(rep(0, 15), rep(1, 35)) wrapBinomTest(x, 1)
Run the code above in your browser using DataLab