eq_dist: Constructor for class 'eq_dist'

View source: R/equilibrium_distributions.R

eq_distR Documentation

Constructor for class eq_dist

Description

The eq_dist class consists of a pair of component functions for generating random variates from a specified distribution and the corresponding equilibrium distribution.

Usage

eq_dist(r_gen, r_eq)

Arguments

r_gen

function for generating random deviates.

r_eq

function for generating random deviates from the corresponding equilibrium distribution.

Details

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

Value

Object of class eq_dist with components r_gen and r_eq.


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