Description Usage Arguments Value
Fit mu, mucond, muind for Negative Binomial with scaling. No more Stan script based. NOTE previous name: fit_mgsnb
1 | initNBParamWithCondBatch(y, s, cond, ind, default_mu = 0, default_r = 20)
|
y |
numeric vector, should be not all zeros. |
s |
numeric vector, normalizing constant, should no zeros. |
cond |
vector of integer, start from 1 |
ind |
vector of integer, start from 1 |
default_mu |
double, default is 0.0. |
default_r |
double, default is 20. |
list of four-named element, mu, r, mucond, muind mu and r are scalars. mucond is a vector length of number of conditions, usually 2. muind is a vector length of number of individuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.