F_gam: Gamma distribution and related equilibrium distribution

View source: R/equilibrium_distributions.R

F_gamR Documentation

Gamma distribution and related equilibrium distribution

Description

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

Usage

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

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


ARPobservation documentation built on Aug. 25, 2023, 5:19 p.m.