simPH: Simulate and Plot Estimates from Cox Proportional Hazards Models

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

Version: 1.3.13
Depends: R (≥ 3.0.2)
Imports: data.table (≥ 1.9.6), dplyr (≥ 0.4), ggplot2, gridExtra, lazyeval, MASS, mgcv, stringr, survival, quadprog
Suggests: knitr, stats, testthat, covr
Published: 2021-01-10
DOI: 10.32614/CRAN.package.simPH
Author: Christopher Gandrud [aut, cre]
Maintainer: Christopher Gandrud <christopher.gandrud at>
License: GPL-3
NeedsCompilation: no
Citation: simPH citation info
Materials: README NEWS
In views: Survival
CRAN checks: simPH results


Reference manual: simPH.pdf
Vignettes: An overview of simPH


Package source: simPH_1.3.13.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): simPH_1.3.13.tgz, r-oldrel (arm64): simPH_1.3.13.tgz, r-release (x86_64): simPH_1.3.13.tgz, r-oldrel (x86_64): simPH_1.3.13.tgz
Old sources: simPH archive


Please use the canonical form to link to this page.