dphdensity: Discrete phase-type density

View source: R/RcppExports.R

dphdensityR Documentation

Discrete phase-type density

Description

Computes the density of discrete phase-type distribution with parameters alpha and S at x.

Usage

dphdensity(x, alpha, S)

Arguments

x

Non-negative value.

alpha

Initial probabilities.

S

Sub-transition matrix.

Value

The density at x.


matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.