Learn R Programming

⚠️There's a newer version (1.3.15) of this package.Take me there.

simPH (version 1.3.7)

Tools for Simulating and Plotting Quantities of Interest Estimated from Cox Proportional Hazards Models

Description

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.

Copy Link

Version

Install

install.packages('simPH')

Monthly Downloads

351

Version

1.3.7

License

GPL-3

Maintainer

Christopher Gandrud

Last Published

March 27th, 2016

Functions in simPH (1.3.7)

coxsimtvc

Simulate time-interactive quantities of interest from Cox Proportional Hazards models
simGG.simtvc

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

A method for plotting simulation objects created by simPH
simGG.siminteract

Plot simulated linear multiplicative interactions 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
simGG.simpoly

Plot simulated polynomial quantities of interest from Cox Proportional Hazards Models
GolubEUPData

A data set from Golub & Steunenberg (2007)
as.data.frame.coxsim

Convert a coxsim class object into a data frame
simPH

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

Simulate quantities of interest for penalized splines from Cox Proportional Hazards models
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
CarpenterFdaData

A data set from Carpenter (2002).
tvc

Create a time interaction variable
coxsimPoly

Simulate quantities of interest for a range of values for a polynomial nonlinear effect 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.simspline

Plot simulated penalised spline hazards from Cox Proportional Hazards Models
coxsimInteract

Simulate quantities of interest for linear multiplicative interactions */ from Cox Proportional Hazards models
ggfitStrata

Graph fitted stratified survival curves from Cox Proportional Hazards models
SurvExpand

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