F_gam: Gamma distribution and related equilibrium distribution

Description Usage Arguments Value Examples

View source: R/equilibrium_distributions.R

Description

Random number generation from a gamma distribution and the related equilibrium distribution, for use with r_behavior_stream.

Usage

1
F_gam(shape)

Arguments

shape

shape parameter

Value

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.

Examples

1
2
hist(F_gam(2)$r_gen(1000, 3))
hist(F_gam(2)$r_eq(1000, 3))

ARPobservation documentation built on May 1, 2021, 1:08 a.m.