sim,miph-method | R Documentation |
Simulation method for inhomogeneous multivariate phase-type distributions
## S4 method for signature 'miph'
sim(x, n = 1000)
x |
An object of class miph. |
n |
An integer of length of realization. |
A realization of independent and identically distributed inhomogeneous multivariate phase-type variables. If x is a MoE miph an array of dimension c(n,d,m) is returned, with d the number of marginals and m the number of initial distribution vectors.
under_mph <- mph(structure = c("general", "general"))
obj <- miph(under_mph, gfun = c("weibull", "pareto"), gfun_pars = list(c(2), c(3)))
sim(obj, 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.