beta_binom: Beta binomial model

Description Usage Arguments Value References Examples

View source: R/utilities.R

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

1
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

1
2
beta_binom(10,5, 0.5, 1)
beta_binom(10,2, 0.5, 1)

umiAnalyzer documentation built on Nov. 25, 2021, 9:07 a.m.