Learn R Programming

AHSurv (version 0.1.0)

hW: Weibull (W) Hazard Function.

Description

Weibull (W) Hazard Function.

Usage

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

Arguments

t

: positive argument

kappa

: scale parameter

alpha

: shape parameter

log

:log scale (TRUE or FALSE)

Value

the value of the w hazard function

Examples

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

# }

Run the code above in your browser using DataLab