beta_binom {umiAnalyzer} | R Documentation |
Beta binomial model
Description
Code was obtained from VGAM package function VGAM::rbetabinom.ab. The VGAM package is available under the GPL-3 license and maintained by Thomas Yee <t.yee at auckland.ac.nz>. Source code of the function is identical to rbetabinom.ab, but the function name was changed to beta_binom.
Usage
beta_binom(n, size, shape1, shape2, limit.prob = 0.5, .dontuse.prob = NULL)
Arguments
n |
n |
size |
size |
shape1 |
alpha |
shape2 |
beta |
limit.prob |
0.5 |
.dontuse.prob |
NULL |
Value
Numeric
References
Yee TW (2015). Vector Generalized Linear and Additive Models: With an Implementation in R. Springer, New York, USA.
Examples
beta_binom(10,5, 0.5, 1)
beta_binom(10,2, 0.5, 1)
[Package umiAnalyzer version 1.0.0 Index]