hexp {longevity}R 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.


[Package longevity version 1.2 Index]