Learn R Programming

matrixdist (version 1.1.9)

mgf,mph-method: Mgf method for multivariate phase-type distributions

Description

Mgf method for multivariate phase-type distributions

Usage

# S4 method for mph
mgf(x, r)

Value

A vector containing the corresponding mgf evaluations.

Arguments

x

An object of class mph.

r

A matrix of real values.

Examples

Run this code
set.seed(124)
obj <- mph(structure = c("general", "general"))
mgf(obj, matrix(c(0.5, 0.3), ncol = 2))

Run the code above in your browser using DataLab