haz,ph-method {matrixdist}R Documentation

Hazard rate method for phase-type distributions

Description

Hazard rate method for phase-type distributions

Usage

## S4 method for signature 'ph'
haz(x, y)

Arguments

x

An object of class ph.

y

A vector of locations.

Value

A vector containing the hazard rate evaluations at the given locations.

Examples

obj <- ph(structure = "general")
haz(obj, c(1, 2, 3))

[Package matrixdist version 1.1.9 Index]