SimSCRPiecewise: 'Simulates Univariate and Semi-Competing Risks Data Given Covariates and Piecewise Exponential Baseline Hazards'

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 semi-competing 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 Semi-Markov model of Lee et al (2015) given patient covariates, regression parameters, patient frailties and baseline hazard functions.

AuthorAndrew G Chapple
Date of publication2016-07-27 23:58:50
MaintainerAndrew G Chapple <Andrew.G.Chapple@rice.edu>
LicenseGPL-2
Version0.1.1

View on CRAN

Files

SimSCRPiecewise
SimSCRPiecewise/NAMESPACE
SimSCRPiecewise/R
SimSCRPiecewise/R/SimPieceUNI.R SimSCRPiecewise/R/SimPieceSCR.R
SimSCRPiecewise/MD5
SimSCRPiecewise/DESCRIPTION
SimSCRPiecewise/man
SimSCRPiecewise/man/SimSCRPiecewise.Rd SimSCRPiecewise/man/SimUNIVPiecewise.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.