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

mexp(rate)

Arguments

rate

Rate parameter (1 / mean)

Value

List with mean and variance

See also

Examples

mexp(rate = 0.5)
#> $mean
#> [1] 2
#> 
#> $variance
#> [1] 4
#>