View source: R/hazardFunctions.R
avgHRExpOS | R Documentation |
Average OS Hazard Ratio from Constant Transition Hazards
avgHRExpOS(transitionByArm, alpha = 0.5, upper = Inf)
transitionByArm |
( |
alpha |
( |
upper |
( |
This returns the value of the average hazard ratio.
transitionTrt <- exponential_transition(h01 = 0.18, h02 = 0.06, h12 = 0.17)
transitionCtl <- exponential_transition(h01 = 0.23, h02 = 0.07, h12 = 0.19)
transitionList <- list(transitionCtl, transitionTrt)
avgHRExpOS(transitionByArm = transitionList, alpha = 0.5, upper = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.