Skip to contents

Negative Binomial Quantile Function

Usage

quant_neg_binom(x, lambda = 1, theta = 0)

Arguments

x

A numeric vector of probabilities.

lambda

A non-negative numeric vector of means.

theta

A non-negative numeric vector of the dispersion for the mixture models (student, gamma-Poisson and beta-binomial).

Value

An numeric vector of the corresponding quantiles.

Examples

quant_neg_binom(c(0.1, 0.4, 0.6), 2, 1)
#> [1] 0 1 2