Learn R Programming

matrixdist (version 1.1.9)

cdf,dph-method: Distribution method for discrete phase-type distributions

Description

Distribution method for discrete phase-type distributions

Usage

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

Value

A vector containing the CDF evaluations at the given locations.

Arguments

x

An object of class dph.

q

A vector of locations.

lower.tail

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

Examples

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

Run the code above in your browser using DataLab