powered by
Returns an BETABINOMIAL distribution object that produce random numbers from a betabinomial distribution using the rbbinom function
rbbinom
new_BETABINOMIAL(p_size, p_shape1, p_shape2, p_dimnames = "rvar")new_BETABINOMIAL_od(p_size, p_mu, p_od, p_dimnames = "rvar")new_BETABINOMIAL_icc(p_size, p_mu, p_icc, p_dimnames = "rvar")
new_BETABINOMIAL_od(p_size, p_mu, p_od, p_dimnames = "rvar")
new_BETABINOMIAL_icc(p_size, p_mu, p_icc, p_dimnames = "rvar")
An object of class DISTRIBUTION, BETADISTRIBUION
DISTRIBUTION
BETADISTRIBUION
a non-negative parameter for the number of trials
non-negative parameters of the Betabinomial distribution
A character that represents the name of the dimension
mean proportion for the binomial part of the distribution
over dispersion parameter
intra-class correlation parameter
new_BETABINOMIAL_od(): parametrization based on dispersion
new_BETABINOMIAL_od()
new_BETABINOMIAL_icc(): parametrization based on intra-class correlation
new_BETABINOMIAL_icc()
John J. Aponte
myDistr <- new_BETABINOMIAL(10,1,1) myDistr$rfunc(10)
Run the code above in your browser using DataLab