# Consul: Consul Distribution In rmutil: Utilities for Nonlinear Regression and Repeated Measurements Models

## Description

These functions provide information about the Consul distribution with parameters `m` and `s`: density, cumulative distribution, quantiles, and random generation.

The Consul distribution with `mu` = m has density

p(y) = m exp(-(m+y(s-1))/s) (m+y(s-1))^(y-1)/(s^y y!)

for y = 0, ….

## Usage

 ```1 2 3 4``` ```dconsul(y, m, s, log=FALSE) pconsul(q, m, s) qconsul(p, m, s) rconsul(n, m, s) ```

## Arguments

 `y` vector of counts `q` vector of quantiles `p` vector of probabilities `n` number of values to generate `m` vector of means `s` vector of overdispersion parameters `log` if TRUE, log probabilities are supplied.

`dpois` for the Poisson, `ddoublepois` for the double Poisson, `dmultpois` for the multiplicative Poisson, and `dpvfpois` for the power variance function Poisson.
 ```1 2 3 4``` ```dconsul(5,10,0.9) pconsul(5,10,0.9) qconsul(0.08,10,0.9) rconsul(10,10,0.9) ```