Description Usage Arguments Details Value
Generate random integers from the hypergeometric distribution when possible within integer overflow constraints. Otherwise, approximate with the normal distribution.
1 | RHyper(nn, m, n, k)
|
nn |
number of observations. If |
m |
the number of white balls in the urn. |
n |
the number of black balls in the urn. |
k |
the number of balls drawn from the urn. |
The hypergeometric distribution is used for sampling the number of white balls drawn when a fixed number of balls is drawn without replacement from an urn which contains both black and white balls.
Random numbers from the binomial distribution, or its normal approximation. The function will a numeric value, rather than an integer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.