bntest.plot: Exact Binomial Test

View source: R/ch10-fn.R

bntest.plotR Documentation

Exact Binomial Test

Description

Plot the Result of Exact Binomial Test

Usage

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

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

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