Learn R Programming

DescTools (version 0.99.60)

mexp: Mean and Variance of the Exponential Distribution

Description

Formula: \(\mu = \frac{1}{\lambda}\) \(\mathrm{Var}(X) = \frac{1}{\lambda^2}\)

Usage

mexp(rate)

Value

List with mean and variance

Arguments

rate

Rate parameter (1 / mean)

See Also

Examples

Run this code
mexp(rate = 0.5)

Run the code above in your browser using DataLab