Package: simsurv 1.0.0-9999
simsurv: Simulate Survival Data
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. For details see the supporting paper <doi:10.18637/jss.v097.i03>. Note that this package is modelled on the 'survsim' package available in the 'Stata' software (see Crowther and Lambert (2012) <https://www.stata-journal.com/sjpdf.html?articlenum=st0275> or Crowther and Lambert (2013) <doi:10.1002/sim.5823>).
Authors:
simsurv_1.0.0-9999.tar.gz
simsurv_1.0.0-9999.zip(r-4.5)simsurv_1.0.0-9999.zip(r-4.4)simsurv_1.0.0-9999.zip(r-4.3)
simsurv_1.0.0-9999.tgz(r-4.4-any)simsurv_1.0.0-9999.tgz(r-4.3-any)
simsurv_1.0.0-9999.tar.gz(r-4.5-noble)simsurv_1.0.0-9999.tar.gz(r-4.4-noble)
simsurv_1.0.0-9999.tgz(r-4.4-emscripten)simsurv_1.0.0-9999.tgz(r-4.3-emscripten)
simsurv.pdf |simsurv.html✨
simsurv/json (API)
NEWS
# Install 'simsurv' in R: |
install.packages('simsurv', repos = c('https://sambrilleman.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sambrilleman/simsurv/issues
- brcancer - German breast cancer dataset
Last updated 4 years agofrom:2a89ac9009. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | OK | Oct 31 2024 |
R-4.5-linux | OK | Oct 31 2024 |
R-4.4-win | OK | Oct 31 2024 |
R-4.4-mac | OK | Oct 31 2024 |
R-4.3-win | OK | Oct 31 2024 |
R-4.3-mac | OK | Oct 31 2024 |
Exports:simsurv
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
German breast cancer dataset | brcancer |
Simulate survival data | simsurv |