ExpHazOS {simIDM}R Documentation

OS Hazard Function from Constant Transition Hazards

Description

OS Hazard Function from Constant Transition Hazards

Usage

ExpHazOS(t, h01, h02, h12)

Arguments

t

(numeric)
study time-points.

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.

Value

This returns the value of the OS hazard function at time t.

Examples

ExpHazOS(c(1:5), 0.2, 1.1, 0.8)

[Package simIDM version 0.1.0 Index]