bntest2.plot: Three Types of Binomial Tests

Description Usage Arguments Value Examples

View source: R/bntest2.plot.R

Description

Plot the Results of Three Types of Binomial Tests

Usage

1
bntest2.plot(x, n, p0, alp = 0.05, side = "two", dig = 4)

Arguments

x

Number of successes

n

Sample size

p0

Population ratio value under the null hypothesis

alp

Level of significance, Default: 0.05

side

Type of the alternative hypothesis ("up", "low", "two"), Default: 'two'

dig

Number of digits below the decimal point, Default: 4

Value

None.

Examples

1
2
bntest2.plot(x = 15, n = 200, p0 = 0.1, alp = 0.05, side = "low")
bntest2.plot(x = 15, n = 200, p0 = 0.1, alp = 0.05, side = "two")

jhk0530/Rstat documentation built on Dec. 20, 2021, 11:11 p.m.