powered by
Mgf method for phase-type distributions
# S4 method for ph mgf(x, r)
The mgf of the ph (or underlying ph) object at the given locations.
An object of class ph.
A vector of real values.
set.seed(123) obj <- ph(structure = "general", dimension = 3) mgf(obj, 0.4)
Run the code above in your browser using DataLab