Learn R Programming

matrixdist (version 1.1.2)

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)

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.

Value

A list containing the locations and corresponding CDF evaluations.

Examples

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

Run the code above in your browser using DataLab