moment,dph-method | R Documentation |
Moment method for discrete phase-type distributions
## S4 method for signature 'dph'
moment(x, k = 1)
x |
An object of class dph. |
k |
A positive integer (moment order). |
The factional moment of the dph object.
set.seed(123)
obj <- dph(structure = "general", dimension = 3)
moment(obj, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.