piecewise_exponential {simIDM} | R Documentation |
Transition Hazards for Piecewise Exponential Event Times
Description
This creates a list with class TransitionParameters
containing
hazards, time intervals and Weibull rates for piecewise exponential event times
in an illness-death model.
Usage
piecewise_exponential(h01, h02, h12, pw01, pw02, pw12)
Arguments
h01 |
( |
h02 |
( |
h12 |
( |
pw01 |
( |
pw02 |
( |
pw12 |
( |
Value
List with elements hazards
, intervals
, weibull_rates
and family
(piecewise exponential).
Examples
piecewise_exponential(
h01 = c(1, 1, 1), h02 = c(1.5, 0.5, 1), h12 = c(1, 1, 1),
pw01 = c(0, 3, 8), pw02 = c(0, 6, 7), pw12 = c(0, 8, 9)
)
[Package simIDM version 0.1.0 Index]