rgborel {epichains} | R Documentation |
Generate random numbers from a Gamma-Borel mixture distribution
Description
Generate random numbers from a Gamma-Borel mixture distribution
Usage
rgborel(n, size, prob, mu, censor_at = Inf)
Arguments
n |
Number of random variates to generate. |
size |
The dispersion parameter (often called |
prob |
Probability of success (in the parameterisation with
|
mu |
Mean; A positive number. |
censor_at |
A stopping criterion; |
Value
Numeric vector of random numbers
Author(s)
Sebastian Funk James M. Azam
Examples
set.seed(32)
rgborel(n = 5, size = 0.3, mu = 1, censor_at = 5)
[Package epichains version 0.1.1 Index]