The distribution function for the weighted sums of multivariate hypergeometric distribution
pmultihyper(x, k, m, w)
The quantile of weighted sum.
The total number of balls drawn from the urn.
Integer non-negative vector of length N, containing the number of balls of each color in the urn. N is the number of colors.
Numeric non-negative vector of length N, specifying the weight of balls of each color.
This function will return the probablity of \(P(X \le x)\).
This function gives the distribution function for the weighted sums of multivariate hypergeometric
distribution by recursively calling the hypergeometric distribution density function
dhyper
.