rgenpois | R Documentation |

Simulate realisations from a generalised poisson distribution

```
rgenpois(mu, phi)
```

`mu` |
A numeric vector of rates |

`phi` |
A numeric specifying the dispersion |

Follows the "GP-1" implementation of the generalised Poisson distribution outlined
in Zamani & Ismail (2012). The variance of produced `Y`

is `(1+\varphi)^2\mu`

. As such
the dispersion parameter is bounded (i.e. not in positive reals as with CMP distribution).

An appropriately-dimensioned vector of count data.

Zamani H and Ismail N. Functional Form for the Generalized Poisson Regression Model,
*Communications in Statistics - Theory and Methods* 2012; **41(20)**; 3666-3675.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.