Skip to content

nphRCT

0.1.1Package record

Non-Proportional Hazards in Randomized Controlled Trials

2packages dependsuggested by 1
4.5Kdownloads / year
93.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.1
  • Added a NEWS.md file to track changes to the package.
  • Added timefix argument to wlrt deal with round-off error.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMENoVignettesYes · 2 · dynamicNEWSYes · 67% structured · mentions 0.1.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
50%

Downloads

4.5K
CRAN downloads in the past year
Rank #7,391 · ~12/day · ~375/mo
Daily download trend is not available in this view yet.
44830 days
1.2K90 days
4.5K1 year
Compare downloads with other packages →
Also on97 r2u5 autocran

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing nphRCT adds 19 packages (9 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.5.0
Imports (3)
ggplot2purrrsurvival
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2022)
Contributor
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1Latest
    record
    2024-06-27 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    record
    2022-09-01
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-01
Total releases
2 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
1.7 KB / 1 file
Download size
148 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nphRCT")
Magirr, D., Barrott, I., & Jimenez, J. (2024). nphRCT: Non-Proportional Hazards in Randomized Controlled Trials (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.nphRCT

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for nphRCT version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy