mexp: Mean and Variance of the Exponential Distribution

View source: R/moments.R

mexpR Documentation

Mean and Variance of the Exponential Distribution

Description

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

Usage

mexp(rate)

Arguments

rate

Rate parameter (1 / mean)

Value

List with mean and variance

See Also

dexp

Examples

mexp(rate = 0.5)

DescTools documentation built on April 4, 2025, 1:55 a.m.