Skip to content

simPH

Simulate and Plot Estimates from Cox Proportional Hazards Models

v1.3.15 · Feb 5, 2026 · GPL-3

Description

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

Downloads

405

Last 30 days

9335th

1.4K

Last 90 days

6.8K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies data.table dplyr ggplot2 gridExtra MASS mgcv stringr survival quadprog simPH

Version History

new 1.3.15 Mar 10, 2026
updated 1.3.15 ← 1.3.14 diff Feb 5, 2026
updated 1.3.14 ← 1.3.13 diff Apr 17, 2025
updated 1.3.13 ← 1.3.12 diff Jan 9, 2021
updated 1.3.12 ← 1.3.11 diff Jul 19, 2020
updated 1.3.11 ← 1.3.10 diff Mar 23, 2020
updated 1.3.10 ← 1.3.9 diff May 14, 2017
updated 1.3.9 ← 1.3.7 diff Dec 4, 2016
updated 1.3.7 ← 1.3.5 diff Mar 26, 2016
updated 1.3.5 ← 1.3.4 diff Dec 14, 2015
updated 1.3.4 ← 1.3.2 diff Sep 20, 2015
updated 1.3.2 ← 1.3.1 diff May 20, 2015
updated 1.3.1 ← 1.3 diff May 3, 2015
updated 1.3 ← 1.2.6.1 diff Feb 10, 2015
updated 1.2.6.1 ← 1.2.4 diff Jan 30, 2015
updated 1.2.4 ← 1.2.3 diff Dec 6, 2014
updated 1.2.3 ← 1.2.2 diff Oct 3, 2014
updated 1.2.2 ← 1.2.1 diff Jul 23, 2014
updated 1.2.1 ← 1.2 diff May 15, 2014
updated 1.2 ← 1.1 diff Apr 19, 2014