Description Usage Arguments Value Author(s) See Also
This function simplifies generating the matrix of mean parameters from a matrix of transition functions.
1 2 3 | generateParameterMatrix(hf,
statesNamesFrom = (dimnames(hf@list.matrix)["from"])[[1]],
statesNamesTo = statesNamesFrom)
|
hf |
a |
statesNamesFrom |
- a list of names of states in the model. By default list(State 1, State 2, ..., State N) |
statesNamesTo |
- a list of names of states in the model. By default the same as statesNamesFrom |
a transition.structure
of dimension N x N,
whose components are lists
of the right length for the parameters in
the corresponding hazard function hf
.
Luisa Salazar Vizcaya, Nello Blaser, Thomas Gsponer
transition.structure-class
,
simulateCohort
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.