powered by
Moment Method for phase type distributions
# S4 method for ph moment(x, k = 1)
an object of class '>ph.
a positive integer (moment order).
The raw moment of the '>ph (or undelying '>ph) object.
# NOT RUN { set.seed(123) ph1 <- ph(structure = "general", dimension = 3) moment(ph1, 2) # }
Run the code above in your browser using DataLab