powered by
OS Hazard Function from Constant Transition Hazards
ExpHazOS(t, h01, h02, h12)
This returns the value of the OS hazard function at time t.
(numeric) study time-points.
numeric
(positive number) transition hazard for 0 to 1 transition.
number
(positive number) transition hazard for 0 to 2 transition.
(positive number) transition hazard for 1 to 2 transition.
ExpHazOS(c(1:5), 0.2, 1.1, 0.8)
Run the code above in your browser using DataLab