integer, say \(N\), specifying the total number
of objects that are put into \(K\) boxes in the typical multinomial
experiment. For dmultinom, it defaults to sum(x).
prob
numeric non-negative vector of length \(K\), specifying
the probability for the \(K\) classes; is internally normalized to
sum 1. Infinite and missing values are not allowed.