mgf,mph-method {matrixdist} | R Documentation |
Mgf method for multivariate phase-type distributions
Description
Mgf method for multivariate phase-type distributions
Usage
## S4 method for signature 'mph'
mgf(x, r)
Arguments
x |
An object of class mph. |
r |
A matrix of real values. |
Value
A vector containing the corresponding mgf evaluations.
Examples
set.seed(124)
obj <- mph(structure = c("general", "general"))
mgf(obj, matrix(c(0.5, 0.3), ncol = 2))
[Package matrixdist version 1.1.9 Index]