powered by
Moment method for phase-type distributions
# S4 method for ph moment(x, k = 1)
The raw moment of the ph (or underlying ph) object.
An object of class ph.
A positive integer (moment order).
set.seed(123) obj <- ph(structure = "general", dimension = 3) moment(obj, 2)
Run the code above in your browser using DataLab