dist_exponential {distributional}R Documentation

The Exponential Distribution

Description

[Stable]

Usage

dist_exponential(rate)

Arguments

rate

vector of rates.

See Also

stats::Exponential

Examples

dist <- dist_exponential(rate = c(2, 1, 2/3))

dist
mean(dist)
variance(dist)
skewness(dist)
kurtosis(dist)

generate(dist, 10)

density(dist, 2)
density(dist, 2, log = TRUE)

cdf(dist, 4)

quantile(dist, 0.7)


[Package distributional version 0.4.0 Index]