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

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.

Getting started

Package details

AuthorAndrew G Chapple
Date of publication2016-07-27 23:58:50
MaintainerAndrew G Chapple <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the SimSCRPiecewise package in your browser

Any scripts or data that you put into this service are public.

SimSCRPiecewise documentation built on May 30, 2017, 1:53 a.m.