Skip to contents

Calculate hypergeometric probability

Usage

get_hypergeom(k, m, n, N)

Arguments

k

Number of cases in the sample

m

Number of cases in the population

n

Sample size

N

Population size

Value

A numeric value of hypergeometric probability given specified parameters

Examples

get_hypergeom(k = 5, m = 600, n = 25, N = 10000)
#> [1] 0.01190287