Last data update: 2014.03.03

R: Combine several CTMCs into one CTMC
combineCTMCR Documentation

Combine several CTMCs into one CTMC

Description

Pastes together several CTMCs into one. It doesn't check that the rules of the CTMCs are held to.

Usage

combineCTMC(sims)

Arguments

sims

a list each of whose element is a CTMC; so sims[[i]] is a CTMC. sims[[i]] can be of class "CTMC" or a list.

Details

Note that each CTMC should include "0" as its first time. And the last state of sims[[i]] and the first state of sims[[i+1]] should "match" in that the user should check they follow the rules of whatever the generating process is for the CTMC.

Value

Returns a list (not a CTMC object!) with states, times, and T.

Results