powered by
The function creates an object which represents the hypergeometric distribution.
hyperdist(m = 10, n = 10, k = 5)
Object of class hyperdist.
the number of white balls in the urn, default: 10.
the number of black balls in the urn, default: 10.
the number of balls drawn from the urn, default: 5.
See Hypergeometric.
Hypergeometric
H <- hyperdist(0.5) d(H, c(2, 3, 4, NA)) r(H, 5)
Run the code above in your browser using DataLab