| .thin_vec | R Documentation |
Computes the probability mass for thinned counts.
.thin_vec(k_vals, yprev, a, thinning)
k_vals |
Integer vector of possible thinned values. |
yprev |
Previous count (size parameter for thinning). |
a |
Thinning parameter alpha. |
thinning |
One of "binom", "pois", "nbinom". |
Numeric vector of probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.