rbinomod {collin} | R Documentation |
Internal function to generate random numbers following over-dispersed Bernoulli distribution, based in the BetaBinomial distribution. It currently does not work and standard Bernoulli distribution is actually used instead.
Description
Internal function to generate random numbers following over-dispersed Bernoulli distribution, based in the BetaBinomial distribution. It currently does not work and standard Bernoulli distribution is actually used instead.
Usage
rbinomod(n, prob, d = 1)
Arguments
n |
integer. Number of observations. |
prob |
numeric. Probability of success on each trial. |
d |
numeric. Dispersion parameter. |
Value
a vector with the simulated sample.
[Package collin version 0.0.4 Index]