Contains two functions for simulating survival data from piecewise exponential hazards with a proportional hazards adjustment for covariates. The first function SimUNIVPiecewise simulates univariate survival data based on a piecewise exponential hazard, covariate matrix and true regression vector. The second function SimSCRPiecewise semicompeting risks data based on three piecewise exponential hazards, three true regression vectors and three matrices of patient covariates (which can be different or the same). This simulates from the SemiMarkov model of Lee et al (2015) given patient covariates, regression parameters, patient frailties and baseline hazard functions.
Package details 


Author  Andrew G Chapple 
Date of publication  20160727 23:58:50 
Maintainer  Andrew G Chapple <Andrew.G.Chapple@rice.edu> 
License  GPL2 
Version  0.1.1 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.