Learn R Programming

matrixdist (version 1.1.9)

cdf,iph-method: Distribution method for inhomogeneous phase-type distributions

Description

Distribution method for inhomogeneous phase-type distributions

Usage

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

Value

A vector containing the CDF evaluations at the given locations.

Arguments

x

An object of class iph.

q

A vector of locations.

lower.tail

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

Examples

Run this code
obj <- iph(ph(structure = "general"), gfun = "weibull", gfun_pars = 2)
cdf(obj, c(1, 2, 3))

Run the code above in your browser using DataLab