Learn R Programming

matrixdist (version 1.1.9)

cdf,ph-method: Distribution method for phase-type distributions

Description

Distribution method for phase-type distributions

Usage

# S4 method for ph
cdf(x, q, lower.tail = TRUE)

Value

A vector containing the CDF evaluations at the given locations.

Arguments

x

An object of class ph.

q

A vector of locations.

lower.tail

Logical parameter specifying whether lower tail (CDF) or upper tail is computed.

Examples

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

Run the code above in your browser using DataLab