bntest.plot: Exact Binomial Test

Description Usage Arguments Value Examples

View source: R/bntest.plot.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 ratio 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")
bntest.plot(x = 6:4, n = 20, p0 = 0.5, side = "two")

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