Simulate survival times from standard parametric survival distributions (exponential, Weibull, Gompertz), 2-component mixture distributions, or a user-defined hazard or log hazard function. Baseline covariates can be included under a proportional hazards assumption. Time dependent effects (i.e. non-proportional hazards) can be included by interacting covariates with linear time or some transformation of time. The 2-component mixture distributions can allow for a variety of flexible baseline hazard functions. If the user wishes to provide a user-defined hazard or log hazard function then this is also possible, and the resulting cumulative hazard function does not need to have a closed-form solution. Note that this package is modelled on the 'survsim' package available in the 'Stata' software (see Crowther and Lambert (2012) <http://www.stata-journal.com/sjpdf.html?articlenum=st0275> or Crowther and Lambert (2013) <doi:10.1002/sim.5823>).
Version: | 0.1.0 |
Depends: | R (≥ 3.3.2) |
Imports: | methods, stats |
Suggests: | eha (≥ 2.4.5), MASS, survival (≥ 2.40.1), testthat (≥ 1.0.2) |
Published: | 2017-07-27 |
Author: | Sam Brilleman [cre, aut, cph] |
Maintainer: | Sam Brilleman <sam.brilleman at monash.edu> |
BugReports: | https://github.com/sambrilleman/simsurv/issues |
License: | GPL (≥ 3) | file LICENSE |
NeedsCompilation: | no |
CRAN checks: | simsurv results |
Reference manual: | simsurv.pdf |
Package source: | simsurv_0.1.0.tar.gz |
Windows binaries: | r-devel: simsurv_0.1.0.zip, r-release: simsurv_0.1.0.zip, r-oldrel: simsurv_0.1.0.zip |
OS X El Capitan binaries: | r-release: simsurv_0.1.0.tgz |
OS X Mavericks binaries: | r-oldrel: simsurv_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=simsurv to link to this page.