bntest2.plot: Three Types of Binomial Tests

View source: R/ch10-fn.R

bntest2.plotR Documentation

Three Types of Binomial Tests

Description

Plot the Results of Three Types of Binomial Tests

Usage

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

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")

adoocavo/Rstat_M1 documentation built on March 19, 2022, 3:34 a.m.