R.QHYPER

R.QHYPER probability quantile function of the hypergeometric distribution

Synopsis

R.QHYPER(p,r,b,n,lower_tail,log_p)

Arguments

p: probability

r: the number of red balls

b: the number of black balls

n: the number of balls drawn

lower_tail: if true (the default), the lower tail of the distribution is considered

log_p: if true, log of the probability is used

Description

This function returns the probability quantile function, i.e., the inverse of the cumulative distribution function, of the hypergeometric distribution.

See also

R.DHYPER, R.PHYPER.