R/BinomTest.R
wrapBinomTest.data.frame.Rd
Wrap binom.test (test of Binomial/Bernoulli rate).
# S3 method for data.frame wrapBinomTest( x, ColumnName, SuccessValue = TRUE, ..., p = NA, alternative = c("two.sided", "less", "greater"), conf.level = 0.95, na.rm = FALSE )
x | data.frame |
---|---|
ColumnName | character name of measurment column |
SuccessValue | value considered a success (positive) |
... | 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
#> [1] "Exact binomial test: (7/10=0.7~c(0.95)[0.3475, 0.9333], two.sided 0.5; p=n.s.)."#> [1] "Exact binomial test: (35/50=0.7~c(0.95)[0.5539, 0.8214], two.sided 0.5; p=0.0066)."