generateHazardMatrix: generate template for transition functions
Description
This function simplifies generating the matrix of transition functions.Usage
generateHazardMatrix(statesNumber, statesNamesFrom = paste("State",
1:statesNumber), statesNamesTo = statesNamesFrom)
Arguments
statesNumber
the number of states to be considered.
statesNamesFrom
names of the states in the model.
statesNamesTo
names of the states in the model.
Value
a transition.structure
of dimension \(N \times N\),
where \(N\) is the number of states and with value "impossible" for all
potential transitions.