Learn R Programming

event (version 1.1.2)

hgamma: Log Hazard Function for a Gamma Process

Description

Log Hazard Function for a Gamma Process

Usage

hgamma(y, shape, rate=1, scale=1/rate)

Value

hgamma returns the log hazard function for a gamma process with the given parameter values.

Arguments

y

Vector of times.

shape

Shape parameter.

rate

Rate parameter.

scale

Scale parameter.

Author

J.K. Lindsey

See Also

hboxcox, hburr, hexp, hgextval, hcauchy, hggamma, hhjorth, hinvgauss, hlaplace, hlnorm, hlogis, hglogis, hnorm, hstudent, hweibull, hgweibull.

Examples

Run this code
hgamma(1:10, 3, 2)

Run the code above in your browser using DataLab