Skip to content

SimNPH

Simulate Non-Proportional Hazards

v0.5.8 · Sep 19, 2025 · BSL-1.0

Description

A toolkit for simulation studies concerning time-to-event endpoints with non-proportional hazards. 'SimNPH' encompasses functions for simulating time-to-event data in various scenarios, simulating different trial designs like fixed-followup, event-driven, and group sequential designs. The package provides functions to calculate the true values of common summary statistics for the implemented scenarios and offers common analysis methods for time-to-event data. Helper functions for running simulations with the 'SimDesign' package and for aggregating and presenting the results are also included. Results of the conducted simulation study are available in the paper: "A Comparison of Statistical Methods for Time-To-Event Analyses in Randomized Controlled Trials Under Non-Proportional Hazards", Klinglmüller et al. (2025) <doi:10.1002/sim.70019>.

Downloads

CRAN

247

Last 30 days

17304th

686

Last 90 days

2.5K

Last year

Trend: +60.4% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

23

Last 90 days

103

Last year

Trend: -35.7% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘car’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies SimDesign survival miniPCH purrr rlang tibble nph nphRCT car dplyr stringr tidyr SimNPH

Version History

7 tracked
new 0.5.8 Mar 10, 2026
updated 0.5.8 ← 0.5.7 diff Sep 18, 2025
updated 0.5.7 ← 0.5.6 diff Apr 7, 2025
updated 0.5.6 ← 0.5.5 diff Feb 19, 2025
updated 0.5.5 ← 0.5.4 diff Mar 3, 2024
updated 0.5.4 ← 0.5.3 diff Jan 7, 2024
new 0.5.3 Nov 8, 2023