The survAH package performs two-sample comparisons based on average hazard with survival weight (AHSW) or general censoring-free incidence rate (CFIR).
Installation
To install the package from the CRAN:
install.packages("survAH")
To install the most updated version:
devtools::install_github("uno1lab/survAH")
Usage
Please see the package vignette on the website https://www.uno1lab.com/survAH/
Reference
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