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

mgf,ph-methodR Documentation

Mgf method for phase-type distributions

Description

Mgf method for phase-type distributions

Usage

## S4 method for signature 'ph'
mgf(x, r)

Arguments

x

An object of class ph.

r

A vector of real values.

Value

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

Examples

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

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