The R Project SVN R

Rev

Rev 8074 | Rev 36820 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8074 Rev 8431
Line 19... Line 19...
19
 *
19
 *
20
 *  DESCRIPTION
20
 *  DESCRIPTION
21
 *
21
 *
22
 *	The distribution function of the hypergeometric distribution.
22
 *	The distribution function of the hypergeometric distribution.
23
 */
23
 */
24
#include "Mathlib.h"
24
#include "nmath.h"
25
#include "dpq.h"
25
#include "dpq.h"
26
 
26
 
27
double phyper(double x, double NR, double NB, double n,
27
double phyper(double x, double NR, double NB, double n,
28
	      int lower_tail, int log_p)
28
	      int lower_tail, int log_p)
29
{
29
{