Learn R Programming

AHSurv (version 0.1.0)

hNGLL: New Generalized Log-logistic (GLL) hazard function.

Description

New Generalized Log-logistic (GLL) hazard function.

Usage

hNGLL(t, kappa, alpha, eta, zeta, log = FALSE)

Arguments

t

: positive argument

kappa

: scale parameter

alpha

: shape parameter

eta

: shape parameter

zeta

: shape parameter

log

:log scale (TRUE or FALSE)

Value

the value of the NGLL hazard function

Examples

Run this code
# NOT RUN {
t=runif(10,min=0,max=1)
hNGLL(t=t, kappa=0.5, alpha=0.35, eta=0.7, zeta=1.4, log=FALSE)

# }

Run the code above in your browser using DataLab