View source: R/mvdistributions.R
rmvzinegbin | R Documentation |
Generate multivariate, negative binomial data, with counts approximately correlated according to Sigma
rmvzinegbin(n, mu, Sigma, munbs, ks, ps, ...)
n |
number of samples to draw |
mu |
mean vector for variables (of length |
Sigma |
|
munbs |
Rate/mean parameter (instead of mu) |
ks |
shape parameter |
ps |
probability of zero inflation |
... |
other arguments to the negative binomial distribution |
Dxn
matrix with zi-poisson data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.