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

cdf,dph-methodR 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))

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.