Last data update: 2014.03.03

R: Count transitions in a fully observed CTMC.
NijR Documentation

Count transitions in a fully observed CTMC.

Description

Returns a matrix with counts of transitions

Usage

Nij(CTMC)

Arguments

CTMC

(Fully observed) CTMC.

Details

the (i,j) element is the number of transitions from state (i-1) to state (j-1) that were observed.

Value

numeric matrix(ncol=max(CTMC)+1, nrow=max(CTMC)+1) where max(CTMC) is the max state of the CTMC.

Results