Learn R Programming

matrixdist (version 1.1.9)

quan,ph-method: Quantile method for phase-type distributions

Description

Quantile method for phase-type distributions

Usage

# S4 method for ph
quan(x, p)

Value

A vector containing the quantile evaluations at the given locations.

Arguments

x

An object of class ph.

p

A vector of probabilities.

Examples

Run this code
obj <- ph(structure = "general")
quan(obj, c(0.5, 0.9, 0.99))

Run the code above in your browser using DataLab