Skip to contents

Gamma-Poisson Cumulative Distribution Function

Usage

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

Arguments

x

A numeric vector of quantiles.

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 probabilities.

Examples

prob_gamma_pois(c(0, 1, 2), 1, 1)
#> [1] 0.500 0.750 0.875