wrapBinomTest.logical | R Documentation |
Wrap binom.test (test of Binomial/Bernoulli rate).
## S3 method for class 'logical'
wrapBinomTest(
x,
...,
p = NA,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
na.rm = FALSE
)
x |
logical, vector of trials. |
... |
extra arguments passed to binom.test |
p |
number, hypothesized probability of success. |
alternative |
passed to |
conf.level |
passed to |
na.rm |
logical, if TRUE remove NA values |
wrapped stat
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.