Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.
Target number of successes (need not be an integer).
prob or mu (see NegBinomialParams; exactly one is required) and log (see DensityOptions).
The probability (or log probability).
Probability mass function of the negative binomial distribution (number of failures before the
size-th success). Equivalent to R'sdnbinom(x, size, prob, mu, log = FALSE).The distribution is parameterized by
sizeand exactly one ofprobormu. Withmu,size = Infinitygives the Poisson distribution.