Skip to contents

Exponential Cumulative Distribution Function

Usage

prob_exp(x, rate = 1)

Arguments

x

A numeric vector of quantiles.

rate

A non-negative numeric vector of rate.

Value

An numeric vector of the corresponding probabilities.

Examples

prob_exp(c(0, 1, 2), 2)
#> [1] 0.0000000 0.8646647 0.9816844