Learn R Programming

matrixdist (version 1.1.9)

sim,bivdph-method: Simulation method for bivariate discrete phase-type distributions

Description

Simulation method for bivariate discrete phase-type distributions

Usage

# S4 method for bivdph
sim(x, n = 1000)

Value

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

Arguments

x

An object of class bivdph.

n

An integer of length of realization.

Examples

Run this code
obj <- bivdph(dimensions = c(3, 3))
sim(obj, n = 100)

Run the code above in your browser using DataLab