Learn R Programming

matrixdist (version 1.1.9)

dens,dph-method: Density method for discrete phase-type distributions

Description

Density method for discrete phase-type distributions

Usage

# S4 method for dph
dens(x, y)

Value

A vector containing the density evaluations at the given locations.

Arguments

x

An object of class dph.

y

A vector of locations.

Examples

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

Run the code above in your browser using DataLab