dens,dph-method {matrixdist}R Documentation

Density method for discrete phase-type distributions

Description

Density method for discrete phase-type distributions

Usage

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

Arguments

x

An object of class dph.

y

A vector of locations.

Value

A vector containing the density evaluations at the given locations.

Examples

obj <- dph(structure = "general")
dens(obj, c(1, 2, 3))

[Package matrixdist version 1.1.9 Index]