Learn R Programming

matrixdist (version 1.1.2)

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)

Arguments

x

an object of class '>ph.

y

a vector of locations.

Value

A list containing the locations and corresponding hazard rate evaluations.

Examples

Run this code
# NOT RUN {
obj <- ph(structure = "general")
haz(obj, c(1, 2, 3))
# }

Run the code above in your browser using DataLab