binomial_coefficient: binomial coefficent

Description Usage Arguments Details See Also

View source: R/binomial_coefficient.R

Description

a function that calculates the binomial coefficent

Usage

1

Arguments

n

integer; must be larger or equal to k.

k

integer; must be larger or equal to 0.

Details

the binomial coefficent is defined as

n!/(k! * (n-k)!)

where ! denotes the factorial operator. n and k must be positive integers satisfying n >= k.

See Also

https://en.wikipedia.org/wiki/Binomial_coefficient


wiep/introToR17 documentation built on May 17, 2019, 11:18 p.m.