powered by
Warning: this function does no argument checking. Ensure the arguments are as follows.
draw_multinom(n, prob)
an integer vector of length equal to the length of prob
prob
an integer giving the number of balls to distribute in bins
a vector of probabilities for each bin, which must sum to one