View source: R/equilibrium_distributions.R
eq_dist | R Documentation |
eq_dist
The eq_dist
class consists of a pair of component functions for generating random variates from a
specified distribution and the corresponding equilibrium distribution.
eq_dist(r_gen, r_eq)
r_gen |
function for generating random deviates. |
r_eq |
function for generating random deviates from the corresponding equilibrium distribution. |
Both functions must take arguments n
and mean
. Currently, the following distributions
are implemented:
F_exp
- Exponential
F_gam
- Gamma
F_gam_mix
- Mixture of two gammas
F_weib
- Weibull
F_unif
- Uniform
F_const
- Constant
Object of class eq_dist
with components r_gen
and r_eq
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.