Learn R Programming

AHSurv (version 0.1.0)

hG: Gamma (G) Hazard Function.

Description

Gamma (G) Hazard Function.

Usage

hG(t, shape, scale, log = FALSE)

Arguments

t

: positive argument

shape

: shape parameter

scale

: scale parameter

log

:log scale (TRUE or FALSE)

Value

the value of the G hazard function

Examples

Run this code
# NOT RUN {
t=runif(10,min=0,max=1)
hG(t=t, shape=0.5, scale=0.85,log=FALSE)

# }

Run the code above in your browser using DataLab