pcomp {CompGLM} | R Documentation |
The CDF of the Conway-Maxwell-Poisson distribution with
parameters lam
and nu
at point q
.
pcomp(q, lam, nu, sumTo = 100L, lowerTail = TRUE, logP = FALSE)
q |
an integer vector where the CDF is to be calculated. If the input is not an integer, it will be coerced to be an integer. |
lam |
a double vector of the parameter λ. |
nu |
a double vector of the parameter ν. |
sumTo |
an integer for the summation term in the density (default 100) |
lowerTail |
a boolean for if P(Y<=q) should be returned
(default |
logP |
a boolean for if the log of the probability should be given
(default |
See dcomp
for details of the PDF.
The value of the CDF (or 1-CDF if lowerTail = FALSE
) or log
of this value if logP = TRUE
. Input vectors are recycled to be
same length.
Jeffrey Pollock <jeffpollock9@gmail.com>
pcomp(1:10, 1.5, 1.2)