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:
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
- moderate_cross - Time-to-event RCT data set with moderate crossing of survival curves.
Last updated from:97fe013e2b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 134 | ||
| source / vignettes | OK | 216 | ||
| linux-release-x86_64 | OK | 125 | ||
| macos-release-arm64 | OK | 121 | ||
| macos-oldrel-arm64 | OK | 216 | ||
| windows-devel | OK | 89 | ||
| windows-release | OK | 104 | ||
| windows-oldrel | OK | 94 | ||
| wasm-release | OK | 125 |
Exports:find_at_riskfind_scoresfind_weightssim_events_delaywlrt
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMatrixpurrrR6RColorBrewerrlangS7scalessurvivalvctrsviridisLitewithr
Last update: 2022-09-27
Started: 2022-07-22
Last update: 2022-09-27
Started: 2022-06-20
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate at-risk table | find_at_risk |
| Calculate scores | find_scores |
| Calculate weights | find_weights |
| Time-to-event RCT data set with moderate crossing of survival curves. | moderate_cross |
| Simulate survival data from a two-arm trial | sim_events_delay |
| Weighted log-rank test | wlrt |
