R: HyperGeometric (Point) Probabilities via Molenaar's Binomial...

dhyperBinMolenaar {DPQ} | R Documentation

## HyperGeometric (Point) Probabilities via Molenaar's Binomial Approximation

### Description

Compute hypergeometric (point) probabilities via Molenaar's binomial approximation, `hyper2binomP()`.

### Usage

    dhyperBinMolenaar(x, m, n, k, log = FALSE)

### Arguments

`x` | ..
`m` | ..
`n` | ..
`k` | ..
`log` | `logical` indication if the logarithm `log(P)` should be returned (instead of P).

### Details

. . .

### Value

. . .

### Author(s)

Martin Maechler

### References

. . .

### See Also

R's own `dhyper()` which uses more sophisticated computations.

### Examples

    ## The function is simply defined as
    function (x, m, n, k, log = FALSE)
      dbinom(x, size = k, prob = hyper2binomP(x, m, n, k), log = log)

[Package DPQ version 0.4-4 Index]