Skip to contents

An exponential distribution as a <dist_spec>, given either by its rate or by its mean.

Usage

Exponential(rate, mean, ...)

Exp(...)

Arguments

rate

vector of rates.

mean

Mean of the distribution, as an alternative to rate.

...

Limits of the distribution, passed to bound_dist().

Value

A <dist_spec>.

See also

Distributions for an overview and the other distributions.

Examples

Exponential(rate = 1)
#> - exp distribution:
#>   rate:
#>     1
Exponential(mean = 4)
#> - exp distribution:
#>   rate:
#>     0.25