Learn R Programming

simIDM (version 0.1.0)

exponential_transition: Transition Hazards for Exponential Event Times

Description

This creates a list with class TransitionParameters containing hazards, time intervals and Weibull rates for exponential event times in an illness-death model.

Usage

exponential_transition(h01 = 1, h02 = 1, h12 = 1)

Value

List with elements hazards, intervals, weibull_rates and family

(exponential).

Arguments

h01

(positive number)
transition hazard for 0 to 1 transition.

h02

(positive number)
transition hazard for 0 to 2 transition.

h12

(positive number)
transition hazard for 1 to 2 transition.

Examples

Run this code
exponential_transition(1, 1.6, 0.3)

Run the code above in your browser using DataLab