Package: survextrap 1.0.1
survextrap: Bayesian Flexible Parametric Survival Modelling and Extrapolation
Survival analysis using a flexible Bayesian model for individual-level right-censored data, optionally combined with aggregate data on counts of survivors in different periods of time. An M-spline is used to describe the hazard function, with a prior on the coefficients that controls over-fitting. Proportional hazards or flexible non-proportional hazards models can be used to relate survival to predictors. Additive hazards (relative survival) models, waning treatment effects, and mixture cure models are also supported. Priors can be customised and calibrated to substantive beliefs. Posterior distributions are estimated using 'Stan', and outputs are arranged in a tidy format. See Jackson (2023) <doi:10.1186/s12874-023-02094-1>.
Authors:
survextrap_1.0.1.tar.gz
survextrap_1.0.1.zip(r-4.7)survextrap_1.0.1.zip(r-4.6)survextrap_1.0.1.zip(r-4.5)
survextrap_1.0.1.tgz(r-4.6-x86_64)survextrap_1.0.1.tgz(r-4.6-arm64)survextrap_1.0.1.tgz(r-4.5-x86_64)survextrap_1.0.1.tgz(r-4.5-arm64)
survextrap_1.0.1.tar.gz(r-4.7-arm64)survextrap_1.0.1.tar.gz(r-4.7-x86_64)survextrap_1.0.1.tar.gz(r-4.6-arm64)survextrap_1.0.1.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
card.svg |card.png
survextrap/json (API)
NEWS
| # Install 'survextrap' in R: |
| install.packages('survextrap', repos = c('https://chjackson.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/chjackson/survextrap/issues
Pkgdown/docs site:https://chjackson.github.io
- cetux - Datasets for evaluation of cetuximab in head and neck cancer
- cetux_bh - Datasets for evaluation of cetuximab in head and neck cancer
- cetux_seer - Datasets for evaluation of cetuximab in head and neck cancer
- colons - Colon cancer survival data
- curedata - Simulated data for testing mixture cure models
Last updated from:17cbe470c1. Checks:12 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 377 | ||
| linux-devel-x86_64 | OK | 396 | ||
| source / vignettes | OK | 524 | ||
| linux-release-arm64 | OK | 381 | ||
| linux-release-x86_64 | OK | 423 | ||
| macos-release-arm64 | OK | 225 | ||
| macos-release-x86_64 | OK | 613 | ||
| macos-oldrel-arm64 | OK | 375 | ||
| macos-oldrel-x86_64 | OK | 521 | ||
| windows-devel | OK | 442 | ||
| windows-release | OK | 411 | ||
| windows-oldrel | OK | 391 | ||
| wasm-release | FAIL | 186 |
Exports:cumhazdsurvmsplinedsurvmspline_waneget_drawshazardhazard_ratiohrtimehsurvmsplineHsurvmsplinehsurvmspline_waneHsurvmspline_waneirmstmean_survmsplinemean_survmspline_wanemspline_basismspline_constant_coefsmspline_initmspline_list_initmspline_plotdatamspline_plotsetupmspline_specmsplinemodel_initp_betap_gammap_hrp_meansurvp_normalp_tplot_hazardplot_hazard_ratioplot_msplineplot_prior_hazardplot_survivalprint_priorsprior_haz_constprior_haz_sdprior_hrprior_hr_sdprior_predprior_sampleprior_sample_hazardpsurvmsplinepsurvmspline_waneqsurvmsplineqsurvmspline_wanermstrmst_survmsplinermst_survmspline_wanersurvmsplinersurvmspline_wanestandardise_tostandardize_tosurvextrapsurvival
Dependencies:abindbackportsBHcallrcheckmateclicpp11descdistributionalfarvergenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMatrixmatrixStatsnumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppArmadilloRcppEigenRcppParallelrlangrstanS7scalessplines2StanHeaderssurvivaltensorAtibbleutf8vctrsviridisLitewithr
Details of methods behind survextrap
Rendered frommethods.Rmdusingknitr::rmarkdownon May 09 2026.Last update: 2026-01-12
Started: 2022-06-30
Examples of using survextrap
Rendered fromexamples.Rmdusingknitr::rmarkdownon May 09 2026.Last update: 2026-02-18
Started: 2022-06-30
Priors in survextrap models
Rendered frompriors.Rmdusingknitr::rmarkdownon May 09 2026.Last update: 2026-01-11
Started: 2023-03-30
