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