The survAH package performs two-sample comparisons based on average hazard with survival weight (AHSW) or general censoring-free incidence rate (CFIR).
To install the package from the CRAN:
install.packages("survAH")
To install the most updated version:
::install_github("uno1lab/survAH") devtools
Please see the package vignette.
Uno H and Horiguchi M. Ratio and difference of average hazard with survival weight: new measures to quantify survival benefit of new therapy. Statistics in Medicine. 2023;1-17. https://doi.org/10.1002/sim.9651