Learn R Programming

matrixdist (version 1.1.9)

mgf,ph-method: Mgf method for phase-type distributions

Description

Mgf method for phase-type distributions

Usage

# S4 method for ph
mgf(x, r)

Value

The mgf of the ph (or underlying ph) object at the given locations.

Arguments

x

An object of class ph.

r

A vector of real values.

Examples

Run this code
set.seed(123)
obj <- ph(structure = "general", dimension = 3)
mgf(obj, 0.4)

Run the code above in your browser using DataLab