generateHazardMatrix: generate template for transition functions

Description Usage Arguments Value Author(s) See Also

Description

This function simplifies generating the matrix of transition functions.

Usage

1
2
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 x N, where N is the number of states and with value "impossible" for all potential transitions.

Author(s)

Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer, Zofia Baranczuk

See Also

transition.structure-class, simulateCohort


GUIgems documentation built on May 1, 2019, 8:19 p.m.