Learn R Programming

ARPobservation (version 1.2.2)

F_exp: Exponential distribution and related equilibrium distribution

Description

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

Usage

F_exp()

Arguments

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

Run this code
hist(F_exp()$r_gen(1000, 3))
hist(F_exp()$r_eq(1000, 3))

Run the code above in your browser using DataLab