hecp {ecpdist}R 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


[Package ecpdist version 0.2.1 Index]