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 Nov. 12, 2023, 5:07 p.m.