View source: R/transitionParameters.R
piecewise_exponential | R Documentation |
This creates a list with class TransitionParameters
containing
hazards, time intervals and Weibull rates for piecewise exponential event times
in an illness-death model.
piecewise_exponential(h01, h02, h12, pw01, pw02, pw12)
h01 |
( |
h02 |
( |
h12 |
( |
pw01 |
( |
pw02 |
( |
pw12 |
( |
List with elements hazards
, intervals
, weibull_rates
and family
(piecewise exponential).
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)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.