dens,iph-method {matrixdist}R Documentation

Density method for inhomogeneous phase-type distributions

Description

Density method for inhomogeneous phase-type distributions

Usage

## S4 method for signature 'iph'
dens(x, y)

Arguments

x

An object of class iph.

y

A vector of locations.

Value

A vector containing the density evaluations at the given locations.

Examples

obj <- iph(ph(structure = "general"), gfun = "weibull", gfun_pars = 2)
dens(obj, c(1, 2, 3))

[Package matrixdist version 1.1.9 Index]