Description Usage Arguments Value Methods (by class) Examples
Given an object that describes negative binomial distribution, simulate counts from the distribution.
1 2 3 4 |
object |
an object that describes a matrix of negative binomial. |
seed |
an optional integer to specify how the random number generator
should be initialized with a call to |
... |
additional arguments. |
A list with the following elements.
countsthe matrix with the simulated counts.
dataNBthe data simulated from the negative binomial.
dataDropoutsthe data simulated from the binomial process.
zeroFractionthe fraction of zeros.
newmodel
: simulate from a nb distribution.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.