Compute the multinomial coefficient.
a vector of integers
This function computes the multinomial coefficient by computing the factorial of each number on a log scale, differencing log(n!) - sum(log(x!)), and then exponentiating. It then checks to see if this is an integer; if it's not, it issues a warning.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.