hyperdist | R Documentation |
The function creates an object which represents the hypergeometric distribution.
hyperdist(m = 10, n = 10, k = 5)
m |
the number of white balls in the urn, default: 10. |
n |
the number of black balls in the urn, default: 10. |
k |
the number of balls drawn from the urn, default: 5. |
See Hypergeometric
.
Object of class hyperdist.
Hypergeometric
H <- hyperdist(0.5) d(H, c(2, 3, 4, NA)) r(H, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.