# simPH v0.8.4

0

Monthly downloads

## Tools for simulating and plotting quantities of interest estimated from Cox Proportional Hazards models

The package simulates and plots quantities of interest (relative
hazards, first differences, and hazard ratios) for linear coefficients,
multiplicative interactions, polynomials, penalised splines, and
nonproportional hazards, as well as stratified survival curves from Cox
Proportional Hazard models.

## Functions in simPH

Name | Description | |

CarpenterFdaData | A data set from Carpenter (2002). | |

ggfitStrata | Graph fitted stratified survival curves from Cox Proportional Hazards models | |

coxsimLinear | Simulate quantities of interest for linear time constant covariates from Cox Proportional Hazards models | |

tvc | Create a time interaction variable | |

coxsimtvc | Simulate time-varying quantities of interest from Cox Proportional Hazards models | |

coxsimPoly | Simulate quantities of interest for a range of values for a polynomial nonlinear effect from Cox Proportional Hazards models | |

simGG.siminteract | Plot simulated linear multiplicative interactions from Cox Proportional Hazards Models | |

simGG.simlinear | Plot simulated linear time-constant quantities of interest from Cox Proportional Hazards Models | |

simGG.simtvc | Plot simulated time-varying hazard ratios or stratified time-varying hazard rates from Cox Proportional Hazards Models | |

simGG | A method for plotting simulation objects created by simPH | |

coxsimSpline | Simulate quantities of interest for penalized splines from Cox Proportional Hazards models | |

coxsimInteract | Simulate quantities of interest for linear multiplicative interactions from Cox Proportional Hazards models | |

simGG.simspline | Plot simulated penalised spline hazards from Cox Proportional Hazards Models | |

simGG.simpoly | Plot simulated polynomial quantities of interest from Cox Proportional Hazards Models | |

GolubEUPData | A data set from Golub & Steunenberg (2007) | |

No Results! |

## Last month downloads

## Details

Date | 2013-11-01 |

URL | http://christophergandrud.github.io/simPH/ |

BugReports | https://github.com/christophergandrud/SimPH/issues |

License | GPL-2 | GPL-3 |

Collate | 'CarpenterFdaData.R' 'coxsimLinear.R' 'coxsimtvc.R' 'coxsimPoly.R' 'coxsimInteract.R' 'coxsimSpline.R' 'ggfitStrata.R' 'GolubEUPData.R' 'simGG.r' 'simGG.simtvc.R' 'simGG.simpoly.R' 'simGG.siminteract.R' 'simGG.simspline.R' 'simGG.simlinear.R' 'tvc.R' 'SPInBounds.R' 'IntervalConstrict.R' 'MinMaxLines.R' |

Packaged | 2013-11-02 17:29:09 UTC; christophergandrud |

NeedsCompilation | no |

Repository | CRAN |

Date/Publication | 2013-11-02 22:16:20 |

depends | base (>= 3.0.0) , R (>= 3.0.0) |

imports | car , data , data.table , ggplot2 , gridExtra , MSBVAR , plyr , quadprog , reshape2 , stringr , survival |

Contributors | Christopher Gandrud |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/simPH)](http://www.rdocumentation.org/packages/simPH)
```