Learn R Programming

AHSurv (version 0.1.0)

hLN: Lognormal (LN) Hazard Function.

Description

Lognormal (LN) Hazard Function.

Usage

hLN(t, kappa, alpha, log = FALSE)

Arguments

t

: positive argument

kappa

: meanlog parameter

alpha

: sdlog parameter

log

:log scale (TRUE or FALSE)

Value

the value of the LN hazard function

Examples

Run this code
# NOT RUN {
t=runif(10,min=0,max=1)
hLN(t=t, kappa=0.5, alpha=0.75,log=FALSE)

# }

Run the code above in your browser using DataLab