Simulate and Plot Estimates from Cox Proportional Hazards Models
Overview
Simulates and plots quantities of interest (relative hazards, first differences, and hazard ratios) for linear coefficients, multiplicative interactions, polynomials, penalised splines, and non-proportional hazards, as well as stratified survival curves from Cox Proportional Hazard models. It also simulates and plots marginal effects for multiplicative interactions. Methods described in Gandrud (2015) doi:10.18637/jss.v065.i03.
- Fixed CRAN check failure caused by deprecated dplyr functions
- Replaced defunct
group_by_()anddistinct_()with modernacross()/pick()equivalents - Updated
group_by_at()to usegroup_by(across())for future compatibility - Removed deprecated
as_data_frame()usage - Removed
lazyevaldependency (no longer needed) - Now requires dplyr >= 1.1.0
From NEWS in the release
Install
Health
NOTEdependencies in R coder-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Base package in Suggests/Enhances imported in NAMESPACE: ‘stats’
r-devel-windows-x86_64
Base package in Suggests/Enhances imported in NAMESPACE: 'stats'
- NOTE8 OK, 5 NOTE2026-10-25
- ERROR8 OK, 4 NOTE, 1 ERROR2026-10-24
- NOTE11 OK, 2 NOTE2026-09-12
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
Show 3 earlier changesHide 3 earlier changes
- OK13 OK2026-06-09
- NOTE12 OK, 1 NOTE2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 81%13 run in a plain check · 3 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 73%
- Help pages citing references
- 62%
Also includes 3 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 20
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/christophergandrud/simph on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-02-05Named in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 2 crediting it in the message
- Claude Opus 4.52 commits · Feb 2026
Dependencies
Installing simPH adds 30 packages (15 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.3.15Latest
- 1.3.142025-04-18 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-01-10
- 1.3.132021-01-10 · diff ↗
- archivedRemoved from CRAN2020-11-02check issues were not corrected in time
- 1.3.122020-07-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.3.112020-03-24 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
Show 27 earlier eventsHide 27 earlier events
- 1.3.102017-05-15 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.3.92016-12-05 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.3.72016-03-27 · diff ↗
- 1.3.52015-12-15 · diff ↗
- 1.3.42015-09-21 · diff ↗
- 1.3.22015-05-21 · diff ↗
- 1.3.12015-05-04 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.32015-02-11 · diff ↗
- 1.2.6.12015-01-31 · diff ↗
- 1.2.42014-12-07 · diff ↗
- 1.2.32014-10-04 · diff ↗
- 1.2.2
- 1.2.12014-05-16 · diff ↗
- 1.2
- RR 3.1.0 released · 2014-04-10
- 1.1
- 1.02014-02-02 · diff ↗
- 0.8.52013-11-15 · diff ↗
- 0.8.42013-11-02 · diff ↗
- 0.8.32013-10-03 · diff ↗
- 0.8.22013-09-04 · diff ↗
- 0.8.12013-08-29 · diff ↗
- 0.7.22013-07-28
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-07-28
- Total releases
- 27 / 13 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 39 KB / 3 files
- Download size
- 107 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("simPH")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v065.i03.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.