Package: nphRCT 0.1.1

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>.

Authors:Dominic Magirr [aut, cre], Isobel Barrott [aut], Jose Jimenez [ctb]

nphRCT_0.1.1.tar.gz
nphRCT_0.1.1.zip(r-4.7)nphRCT_0.1.1.zip(r-4.6)nphRCT_0.1.1.zip(r-4.5)
nphRCT_0.1.1.tgz(r-4.6-any)nphRCT_0.1.1.tgz(r-4.5-any)
nphRCT_0.1.1.tar.gz(r-4.7-any)nphRCT_0.1.1.tar.gz(r-4.6-any)
nphRCT_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
nphRCT/json (API)

# Install 'nphRCT' in R:
install.packages('nphRCT', repos = c('https://dominicmagirr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dominicmagirr/nphrct/issues

Datasets:
  • moderate_cross - Time-to-event RCT data set with moderate crossing of survival curves.

On CRAN:

Conda:

4.53 score 1 stars 2 packages 28 scripts 431 downloads 5 exports 22 dependencies

Last updated from:97fe013e2b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK216
linux-release-x86_64OK125
macos-release-arm64OK121
macos-oldrel-arm64OK216
windows-develOK89
windows-releaseOK104
windows-oldrelOK94
wasm-releaseOK125

Exports:find_at_riskfind_scoresfind_weightssim_events_delaywlrt

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixpurrrR6RColorBrewerrlangS7scalessurvivalvctrsviridisLitewithr

Survival tests as differences-of-means
A simple randomized controlled trial | Time-to-event outcome | ...Unless | What do the scores look like? | Why is this interesting? | Weighted log-rank tests | Early versus late contrasts | Appendix | Where do these numbers come from? | (Weighted) log-rank test | RMST / Milestone

Last update: 2022-09-27
Started: 2022-07-22

The weighted log-rank test
Simulate a dataset | Weighted log-rank tests | Weights | Test statistic | Permutation test and scores | Stratification | References

Last update: 2022-09-27
Started: 2022-06-20