Learn R Programming

matrixdist (version 1.1.9)

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)

Value

A vector containing the density evaluations at the given locations.

Arguments

x

An object of class iph.

y

A vector of locations.

Examples

Run this code
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