F_exp {ARPobservation}R Documentation

Exponential distribution and related equilibrium distribution

Description

Random number generation from exponential distributions, for use with r_behavior_stream.

Usage

F_exp()

Value

Object of class eq_dist with components r_gen and r_eq.

The function r_gen(n, mean) generates random deviates from an exponential distribution with specified mean.

The function r_eq(n, mean) generates random deviates from an exponential distribution with specified mean.

Examples

hist(F_exp()$r_gen(1000, 3))
hist(F_exp()$r_eq(1000, 3))


[Package ARPobservation version 1.2.2 Index]