Learn R Programming

gems (version 1.1.1)

generateParameterMatrix: generate a template for mean parameters

Description

This function simplifies generating the matrix of mean parameters from a matrix of transition functions.

Usage

generateParameterMatrix(hf)

Arguments

hf
a transition.structure of dimension \(N \times N\), where \(N\) is the number of states.

Value

a transition.structure of dimension \(N \times N\), whose components are lists of the right length for the parameters in the corresponding hazard function hf.

References

Nello Blaser, Luisa Salazar Vizcaya, Janne Estill, Cindy Zahnd, Bindu Kalesan, Matthias Egger, Olivia Keiser, Thomas Gsponer (2015). gems: An R Package for Simulating from Disease Progression Models. Journal of Statistical Software, 64(10), 1-22. URL http://www.jstatsoft.org/v64/i10/.

See Also

transition.structure, simulateCohort