Learn R Programming

matrixdist (version 1.1.3)

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 list containing the locations and corresponding CDF evaluations.

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