Description Usage Arguments Details Value Author(s) Examples
Provides a size n sample from the Conway-Maxwell-Poisson
distribution with parameters lam
and nu
. Sampling is done
via a simple multinomial approach.
1 | rcomp(n, lam, nu, sumTo = 100L)
|
n |
an integer of the number of random samples to be taken. |
lam |
a double of the parameter λ. |
nu |
a double of the parameter ν. |
sumTo |
an integer for the summation term in the density (default 100). |
The function is only implemented for single values of lam
and nu
. See dcomp
for details of the PDF.
A random sample of size n.
Jeffrey Pollock <jeffpollock9@gmail.com>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.