Description Usage Arguments Value Examples
Plot the Result of Exact Binomial Test
1 | bntest.plot(x, n, p0, alp = 0.05, side = "two", dig = 4, dcol)
|
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 |
None.
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.