Learn R Programming

matrixdist (version 1.1.9)

haz,ph-method: Hazard rate method for phase-type distributions

Description

Hazard rate method for phase-type distributions

Usage

# S4 method for ph
haz(x, y)

Value

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

Arguments

x

An object of class ph.

y

A vector of locations.

Examples

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

Run the code above in your browser using DataLab