cdf,ph-method {matrixdist}R Documentation

Distribution method for phase-type distributions

Description

Distribution method for phase-type distributions

Usage

## S4 method for signature '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 vector containing the CDF evaluations at the given locations.

Examples

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

[Package matrixdist version 1.1.9 Index]