bntest.plot: Exact Binomial Test

Description Usage Arguments Value Examples

View source: R/ch10-fn.R

Description

Plot the Result of Exact Binomial Test

Usage

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

Arguments

x

Vector of number of successes

n

Sample size

p0

Population proportion value under the null hypothesis

alp

Level of significance, Default: 0.05

dig

Number of digits below the decimal point, Default: 4

dcol

Colors of the probability bars

Value

None.

Examples

1
2
bntest.plot(x=2:4, n=10, p0=0.1, side="up")
(x=6:4, n=20, p0=0.5, side="two")

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