Learn R Programming

longevity (version 1.2.1)

hazard_fn_elife: Hazard function for various parametric models

Description

Hazard function for various parametric models

Usage

hazard_fn_elife(
  x,
  par,
  family = c("exp", "gp", "gomp", "gompmake", "weibull", "extgp")
)

Value

a vector with the value of the hazard function at x

Arguments

x

vector of points at which to evaluate the hazard function

par

vector of scale and shape parameters

family

string; choice of parametric family