Skip to contents

Negative binomial log-probability mass function

Usage

neg_binomial_lpmf(x, size, prob, sum = TRUE)

Arguments

x

Vector of quantiles.

size

Target for number of successful trials.

prob

Probability of success in each trial.

Value

The sum of the log-probability.