multinomial: Multinomial coefficient

Description Usage Arguments

View source: R/combinatorics.R

Description

This function returns the multinomial coefficient of a natural number m and a vector of natrual numbers k. It is defined as m!/(k[1]! * ... * k[n]!), where n = length(k) and m! stands for factorial(m).

Usage

1

Arguments

m

a non negative, natural number

k

a vector of non negative, natural numbers


CharlotteJana/momcalc documentation built on Oct. 17, 2019, 7:21 a.m.