Learn R Programming

matrixdist (version 1.1.2)

dens,iph-method: Density Method for inhomogeneous phase type distributions

Description

Density Method for inhomogeneous phase type distributions

Usage

# S4 method for iph
dens(x, y)

Arguments

x

an object of class '>iph.

y

a vector of locations.

Value

A list containing the locations and corresponding density evaluations.

Examples

Run this code
# NOT RUN {
obj <- iph(ph(structure = "general"), gfun = "weibull", gfun_pars = 2)
dens(obj, c(1, 2, 3))
# }

Run the code above in your browser using DataLab