Skip to contents

Calculate cumulative hypergeometric probabilities

Usage

get_hypergeom_cumulative(k, m, n, N, tail = "lower")

Arguments

k

Number of cases in the sample

m

Number of cases in the population

n

Sample size

N

Population size

tail

A character vector indicating "lower" (default) or "upper" tail

Value

A numeric value of cumulative hypergeometric probability given specified parameters