binomtest: Exact Binomial Test and Confidence Interval.

Description Usage Arguments Value Examples

Description

Exact Binomial Test and Confidence Interval.

Usage

1
binomtest(observed, n, hypothesized = NULL, alternative, conf.level = NULL)

Arguments

observed

number of success.

n

sample size.

hypothesized

probability of success.

alternative

probability of success.

conf.level

confidence level for a two-sided confidence interval.

Value

Exact Binomial Test

Examples

1
2
3
4
binomtest(3, 13, 1/2, "greater")
binomtest(3, 13, 1/2, "less")
binomtest(3, 13, 1/2, "two.sided")
binomtest(3, 13, conf.level=c(90,95))

jungd/ImproveISCAM documentation built on May 20, 2019, 4:24 a.m.