expgen: generate exponential distribution

Description Usage Arguments Value Author(s) See Also

View source: R/randomFunctions.R

Description

A function for generating exponential distribution. This function uses cugen. the formula comes from universality of uniform.

Usage

1
myrv <- expgen(lambda)

Arguments

lambda

get lambda as its expectation.

Value

return values of an R.V. that follows exponential distribution.

Author(s)

HamidReza Zare (hzare@ce.sharif.ir)

See Also

See Also as cugen


shahrooz1997/ProbDist documentation built on May 14, 2019, 7:37 a.m.