nphRCT: Non-Proportional Hazards in Randomized Controlled Trials

Perform a stratified weighted log-rank test in a randomized controlled trial. Tests can be visualized as a difference in average score on the two treatment arms. These methods are described in Magirr and Burman (2018) <doi:10.48550/arXiv.1807.11097>, Magirr (2020) <doi:10.48550/arXiv.2007.04767>, and Magirr and Jimenez (2022) <doi:10.48550/arXiv.2201.10445>.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: ggplot2, purrr, survival
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), dplyr, cowplot, survminer
Published: 2022-09-01
Author: Dominic Magirr [aut, cre], Isobel Barrott [aut], Jose Jimenez [ctb]
Maintainer: Dominic Magirr <d.magirr at>
License: GPL (≥ 3)
NeedsCompilation: no
CRAN checks: nphRCT results


Reference manual: nphRCT.pdf
Vignettes: Survival tests as differences-of-means
The weighted log-rank test


Package source: nphRCT_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): nphRCT_0.1.0.tgz, r-oldrel (arm64): nphRCT_0.1.0.tgz, r-release (x86_64): nphRCT_0.1.0.tgz, r-oldrel (x86_64): nphRCT_0.1.0.tgz

Reverse dependencies:

Reverse imports: SimNPH


Please use the canonical form to link to this page.