hecp: Hazard function

View source: R/hecp.R

hecpR Documentation

Hazard function

Description

Compute the hazard function of the extended Chen-Poisson (ecp) distribution.

Usage

hecp(x, lambda, gamma, phi, log = FALSE)

Arguments

x

vector of quantiles.

lambda, gamma

parameter values > 0.

phi

parameter value != 0.

log

logical value

Value

Numeric value of the hazard function.

If log = TRUE, numeric value of the logarithm of the function.

Examples

hecp(2, 1, 1, 1, log = FALSE) # hazard function


ecpdist documentation built on Sept. 11, 2024, 9:24 p.m.