sim,bivph-method {matrixdist}R Documentation

Simulation method for bivariate phase-type distributions

Description

Simulation method for bivariate phase-type distributions

Usage

## S4 method for signature 'bivph'
sim(x, n = 1000)

Arguments

x

An object of class bivph.

n

An integer of length of realization.

Value

A realization of independent and identically distributed bivariate phase-type vector.

Examples

obj <- bivph(dimensions = c(3, 3))
sim(obj, n = 100)

[Package matrixdist version 1.1.9 Index]