View source: R/mvdistributions.R
rmvnegbin | R Documentation |
Generate multivariate, Zero-inflated negative binomial data, with counts approximately correlated according to Sigma
rmvnegbin(n, mu, Sigma, ks, ...)
n |
number of samples to draw |
mu |
mean vector for variables (of length |
Sigma |
|
ks |
shape parameter |
... |
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.