# simPH v1.2.3

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
non-proportional hazards, as well as stratified survival curves from Cox
Proportional Hazard models. It also simulates and plots marginal effects
for multiplicative interactions.

## Functions in simPH

Name | Description | |

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

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

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

simPH | An R package for simulating and plotting quantities of interest from Cox Proportional Hazard models. | |

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

tvc | Create a time interaction variable | |

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

SurvExpand | Convert a data frame of non-equal interval continuous observations into equal interval continuous observations | |

MinMaxLines | Transform the simulation object to include only the min and max of the constricted intervals, as well as the lower and upper bounds of the middle 50 percent of the constricted intervals | |

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

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

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

setXl | Create a sequence of Xl values | |

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

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

coxsimLinear | Simulate quantities of interest for covariates from Cox Proportional Hazards models that are not interacted with time or nonlinearly transformed | |

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

No Results! |

## Last month downloads

## Details

Date | 2014-10-01 |

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

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

License | GPL-3 |

VignetteBuilder | knitr |

BuildVignettes | true |

LazyData | true |

Packaged | 2014-10-04 06:39:44 UTC; christophergandrud |

NeedsCompilation | no |

Repository | CRAN |

Date/Publication | 2014-10-04 09:15:46 |

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

imports | car , data , data.table (>= 1.9.2) , DataCombine , dplyr (>= 0.3) , ggplot2 , gridExtra , lazyeval , MASS , mgcv , quadprog , reshape2 , stringr , survival |

suggests | knitr , stats |

Contributors | Christopher Gandrud |

#### Include our badge in your README

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