Skip to contents

Calculate the binomial coefficient "n-choose-k"

Usage

get_binom_hypergeom(n, k)

Arguments

n

Total population

k

Number of sample drawn from total population

Value

A numeric vector of binomial probability

Examples

get_binom_hypergeom(n = 600, k = 40)
#> [1] 4.335189e+62