Learn R Programming

matrixdist (version 1.1.2)

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)

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.

Value

A list containing the locations and corresponding CDF evaluations.

Examples

Run this code
# NOT RUN {
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