Skip to contents

The generalised Poisson distribution

Usage

dgpoisson(y, mu, phi)

rgpoisson(n, mu, phi)

Arguments

y

a vector of positive integers for which to calculate the density

mu

a vector of averages for which to calculate the density

phi

a single overdispersion parameter

n

the number of simulated values

Value

a matrix with the density for each combination of y (rows) and mu (cols)