Learn R Programming

gems (version 0.9.5)

generateHazardMatrix: generate template for transition functions

Description

This function simplifies generating the matrix of transition functions.

Usage

generateHazardMatrix(statesNumber)

Arguments

statesNumber
the number of states to be considered.

Value

  • a transition.structure of dimension $N \times N$, where $N$ is the number of states and with value "impossible" for all potential transitions.

See Also

transition.structure-class, simulateCohort