CTMC.simulate.piecewise: Simulate from piecewise constant/homogeneous CTMC

Description Usage Arguments Value Author(s)

View source: R/CTMC.simulate.piecewise.R

Description

Via the CTMC.simulate function.

Usage

1
CTMC.simulate.piecewise(rate.fns, jumpLim.fns, T.times, init.state)

Arguments

rate.fns

a LIST of rate functions corresponding to jumpLim.fns and T.times. Length is number of homogeneous pieces, we'll call it M.

jumpLim.fns

a LIST of 'jumpLim' functions of length M like the list rate.fns. See the documentation for CTMC.simulate for an explanation of what each is.

T.times

Of length M+1 so that there are M intervals corresponding to rate.fns.

init.state

A starting state for the simulated chain.

Value

An object of type CTMC.

Author(s)

Charles Doss


DOBAD documentation built on May 2, 2019, 3:04 a.m.