bntest2.plot: Three Types of Binomial Tests

Description Usage Arguments Value Examples

View source: R/ch10-fn.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 proportion 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")

tjssu/Rstat documentation built on Aug. 8, 2020, 12:38 p.m.