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

CRAN

504

Last 30 days

7418th

1.3K

Last 90 days

6.6K

Last year

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

r2u CRAN

11

Last 30 days

28

Last 90 days

105

Last year

Trend: -35.3% (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
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

Rd \usage sections

Warning in file(open = "w+") :
  cannot open file '/tmp/RtmpsdpFSs/Rf22fa1455bc1819': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_namespace_quietly -> .try_quietly -> file
Execution halted
The \usage entries for S3 methods should use the \method markup and not
their full name.
See chapter ‘Writing R documentation files’ 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 data.table dplyr ggplot2 gridExtra MASS mgcv stringr survival quadprog simPH

Version History

28 tracked
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