Description Usage Arguments Examples
This function calculates either a tail probability or the inverse cumulative probability depending on whether k or prob is passed a question mark.
1 | iscam_binom(k, prob, n, pi, lower.tail)
|
k |
number of successes |
prob |
probability of interest |
n |
number of trials (zero or more) |
pi |
probability of success on each trial |
lower.tail |
logical; if TRUE, probabilities are P[X <= k], otherwise, P[X > k] |
1 2 | iscam_binom("?", 0.05, 20, 0.3, lower.tail = TRUE)
iscam_binom(10, "?", 20, 0.3, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.