cdf,dph-method {matrixdist}R Documentation

Distribution method for discrete phase-type distributions

Description

Distribution method for discrete phase-type distributions

Usage

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

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.

Value

A vector containing the CDF evaluations at the given locations.

Examples

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

[Package matrixdist version 1.1.9 Index]