R.PHYPER

R.PHYPER cumulative distribution function of the hypergeometric distribution

Synopsis

R.PHYPER(x,r,b,n,lower_tail,log_p)

Arguments

x: observation

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 cumulative distribution function of the hypergeometric distribution.

See also

R.DHYPER, R.QHYPER.