View source: R/equilibrium_distributions.R
F_gam | R Documentation |
Random number generation from a gamma distribution and the related equilibrium distribution,
for use with r_behavior_stream
.
F_gam(shape)
shape |
shape parameter |
Object of class eq_dist
with components r_gen
and r_eq
.
The function r_gen(n, mean)
generates random deviates from a gamma distribution with specified
mean
and shape
parameters.
The function r_eq(n, mean)
generates random deviates from the equilibrium distribution corresponding
to the gamma distribution with specified mean
and shape
parameters.
hist(F_gam(2)$r_gen(1000, 3))
hist(F_gam(2)$r_eq(1000, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.