hyperdist {mistr} | R Documentation |
Creates an Object Representing Hypergeometric Distribution
Description
The function creates an object which represents the hypergeometric distribution.
Usage
hyperdist(m = 10, n = 10, k = 5)
Arguments
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. |
Details
See Hypergeometric
.
Value
Object of class hyperdist.
See Also
Examples
H <- hyperdist(0.5)
d(H, c(2, 3, 4, NA))
r(H, 5)
[Package mistr version 0.0.6 Index]