Description Usage Arguments Value
NOTE: From observation, mean can be estimate well, but if it's below 1, then r tends to be estimated too small.
1 | initNBParam(y, s, default_r)
|
y |
numeric vector, should be not all zeros. |
s |
numeric vector, normalizing constant, should no zeros. |
default_r |
numeric scalar, when variance larger than m, it will be used. |
list of two-named scalar, mu and r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.