Learn R Programming

matrixdist (version 1.1.9)

mdph: Constructor function for multivariate discrete phase-type distributions

Description

Constructor function for multivariate discrete phase-type distributions

Usage

mdph(alpha = NULL, S = NULL, structure = NULL, dimension = 3, variables = NULL)

Value

An object of class mdph.

Arguments

alpha

A probability vector.

S

A list of sub-transition matrices.

structure

A vector of valid ph structures.

dimension

The dimension of the dph structure (if provided).

variables

The dimension of the multivariate discrete phase-type.

Examples

Run this code
mdph(structure = c("general", "general"), dimension = 5)

Run the code above in your browser using DataLab