binom_coef: Compute the binomial coefficient \binom{n}{k}

View source: R/numericFunctions.R

binom_coefR Documentation

Compute the binomial coefficient \binom{n}{k}

Description

Compute the binomial coefficient \binom{n}{k}

Usage

binom_coef(n, k)

Arguments

n

a non-negative number

k

another non-negative number such that k \le n

Value

Numeric value of the binomial coefficient \binom{n}{k} = \frac{n!}{k!(n - k)!}

#'

Author(s)

Steve Gutreuter


sgutreuter/SGmisc documentation built on Aug. 25, 2024, 7:21 p.m.