dexp0: The density of the exponential distribution

Description Usage Arguments Examples

View source: R/mc_rv_density.R

Description

The density of the exponential distribution

Usage

1
dexp0(x, rate = 1, log = FALSE)

Arguments

x

vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile.

rate

positive number; the rate parameter.

log

logical; if TRUE, returns the log value.

Examples

1
2
3
n <- 10
x <- rexp0(n, rate = 3)
dexp0(x, rate = 3)

ADtools documentation built on Nov. 9, 2020, 5:09 p.m.