simPH: Simulate and Plot Estimates from Cox Proportional Hazards Models (original) (raw)
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.14 |
|---|---|
| Depends: | R (≥ 3.5.0) |
| Imports: | data.table (≥ 1.9.6), dplyr (≥ 0.4), ggplot2, gridExtra, lazyeval, MASS, mgcv, stringr, survival, quadprog |
| Suggests: | knitr, stats, testthat, covr |
| Published: | 2025-04-18 |
| DOI: | 10.32614/CRAN.package.simPH |
| Author: | Christopher Gandrud [aut, cre] |
| Maintainer: | Christopher Gandrud <christopher.gandrud at gmail.com> |
| BugReports: | https://github.com/christophergandrud/simPH/issues |
| License: | GPL-3 |
| URL: | https://CRAN.R-project.org/package=simPH |
| NeedsCompilation: | no |
| Citation: | simPH citation info |
| Materials: | README, |
| In views: | Survival |
| CRAN checks: | simPH results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=simPHto link to this page.