simsurv (0.2.3)
Simulate Survival Data.
http://cran.r-project.org/web/packages/simsurv
Simulate survival times from standard parametric survival distributions (exponential, Weibull, Gompertz), 2-component mixture distributions, or a user-defined hazard, log hazard, cumulative hazard, or log cumulative 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 a user-defined function of time. Clustered event times are also accommodated. The 2-component mixture distributions can allow for a variety of flexible baseline hazard functions reflecting those seen in practice. If the user wishes to provide a user-defined hazard or log hazard function then this is 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) or Crowther and Lambert (2013) ).
Maintainer:
Sam Brilleman
Author(s): Sam Brilleman [cre, aut, cph], Alessandro Gasparini [ctb]
License: GPL (>= 3) | file LICENSE
Uses: eha, survival, BB, MASS, testthat, flexsurv, knitr, rstpm2
Released 10 months ago.
3 previous versions
- simsurv_0.2.2. Released over 1 year ago.
- simsurv_0.2.0. Released almost 2 years ago.
- simsurv_0.1.0. Released over 2 years ago.
Ratings
Overall: |
|
Documentation: |
|
Log in to vote.
Reviews
No one has written a review of simsurv yet. Want to be the first? Write one now.
Related packages: BMA, BayHaz, DAAG, Epi, ICE, KMsurv, LearnBayes, MCMCpack, MLEcens, NADA, NestedCohort, SMPracticals, VGAM, aster, bayesSurv, boot, clinfun, cmprsk, coin, coxphf … (20 best matches, based on common tags.)
Search for simsurv on google, google scholar, r-help, r-devel.
Visit simsurv on R Graphical Manual.