simPH: An R package for simulating and plotting quantities of...

Description References

Description

An R package for simulating and plotting 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.

The package includes the following simulation functions:

Results from these functions can be plotted using the simGG method.

The package also includes two functions that make it easier to create time interactions:

References

Gandrud, Christopher. 2015. simPH: An R Package for Illustrating Estimates from Cox Proportional Hazard Models Including for Interactive and Nonlinear Effects. Journal of Statistical Software. 65(3)1-20.


simPH documentation built on May 29, 2017, 10:38 a.m.