sim,MPHstar-method {matrixdist} | R Documentation |
Simulation method for multivariate phase-type distributions
Description
Simulation method for multivariate phase-type distributions
Usage
## S4 method for signature 'MPHstar'
sim(x, n = 1000)
Arguments
x |
An object of class MPHstar. |
n |
Desired sample size for each marginal. |
Value
A matrix of sample data for each marginal.
Examples
obj <- MPHstar(structure = "general")
sim(obj, 100)
[Package matrixdist version 1.1.9 Index]