Description Usage Arguments Details Author(s) Examples
View source: R/AvgHazardRatios.R
This function computes the average treatment-to-total hazard ratio for the time periods before and after a crossing occurs.
1 | AvgHazardRatios(obj)
|
obj |
An object of class |
The crossing time can either represent a crossing of the survival functions
or a crossing a crossing of the hazard functions. If one wants to use
a crossing time of the survival functions, make sure the
surv.delay
object was obtained from running the DelayedSurvFit
function. Likewise, if one wants to use
a crossing time of the hazard functions, make sure the
surv.delay
object was obtained from running the DelayedHazFit
function.
Nicholas Henderson
1 | a <- 2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.