dexp0 {ADtools}R Documentation

The density of the exponential distribution

Description

The density of the exponential distribution

Usage

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

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


[Package ADtools version 0.5.5 Index]