bd_trans: Transition matrix for the jump chain of a...

Description Usage Arguments Value See Also Examples

View source: R/bd_matrix.R

Description

bd_trans is used to produce transition matrices of the jump chain of the input process.

Usage

1
bd_trans(BD, showstate = 0)

Arguments

BD

is an object in class 'stat2003.bd'

showstate

If there are so many statespace, and users just want to take first n elements of the generator matrix, setting showstate = n. If showstate = 0, bd_trans will return whole transition matrix. Default value of showstate is zero.

Value

bd_trans will return the transition matrix by given rates.

See Also

stat2003.bd-class A class type of linear birth-death in stat2003 package.

bd_equi will returns the equilibrium distribution of a birth-death process.

bd_rate will return the generator matrix by given birth-death rates for a linear birth death process.

bd_simu simulates a finite statespace Birth-death process by returning a plot about states and time.

Examples

1
2
3
4
A <- new("stat2003.bd", lb = 1, ld = 1, im = 3, em = 4,
nstate = 0)

bd_trans(A, 4)

paulnorthrop/stat2003 documentation built on May 24, 2019, 10:31 p.m.