exponential: Hazard function of the exponential distribution

hexpR Documentation

Hazard function of the exponential distribution

Description

Hazard function of the exponential distribution

Usage

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

Arguments

x

vector of quantiles

rate

rate vector of rates

log

logical; if FALSE (default), return the log hazard

Value

a vector of (log)-hazard.


longevity documentation built on July 14, 2026, 1:06 a.m.